Preg_match result extract data

I have this result in my preg_match pattern, my problem is that I want to extract the state, because I have something to do with the state. how can extract the state ?


Event: SomeEvent
Trigger: ok
AuthDetail: Yes
State: 0

Thank you in advance.

what have you tried?

@Dormilich, It’s okay now I already fixed this.

Thank you

Why don’t you tell us how you fixed it? It might be helpful to others.

1 Like

By using the explode function this solved my problem. :slight_smile:

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.