Hello
I am using mysql and php method to get data from my server. In my php code, php checks for something and give a json response and my app gets it.
Response from server: "This username already exists"
i want to do something if the response is "This username already exists" but because the response includes " at the start and end of the respnse : "This username already exists" i cant do what i want with If res= "This username already exists" . There must be a simple trick to achieve it but i cant find . Can you help me ?
TY
I am using mysql and php method to get data from my server. In my php code, php checks for something and give a json response and my app gets it.
Response from server: "This username already exists"
i want to do something if the response is "This username already exists" but because the response includes " at the start and end of the respnse : "This username already exists" i cant do what i want with If res= "This username already exists" . There must be a simple trick to achieve it but i cant find . Can you help me ?
TY