Am using Flutter to POST an encrypted string I stored in my SharedPreference to my PHP JSON for some reason when I tried to retrieve the value to use and query database if such value is available it adds slash at the beginning and end of the value like this ""cbfddd256d9b5c5235f587415188ce2e36101c0c3269b6db398d4f53ad35898a"". I tried to trace it back to my Flutter code at the point of POST to see if that is where the extra slash came from but it wasn't there. Please can anyone help on how to remove the slash because my query returns null because of the extra slash
""cbfddd256d9b5c5235f587415188ce2e36101c0c3269b6db398d4f53ad35898a""
I guess you are sending it to pop as a string with two quotes " " so php add the slash maybe try sending it without the " "
2.1m questions
2.1m answers
60 comments
57.0k users