Yeah sppokie is rite, the same thing strike to me as well. In your SQL query all the text data must be refred using single quote i.e. if you want validate a field of text or char datatype then your query mucst be something like where name LIKE 'satya'
so, the query will go like this :
$query =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.