Page 1 of 1

Error No. 1064 in php but its working in mysql5.5.8 directly

Posted: Sat Aug 27, 2011 5:16 am
by bobs
I'm getting the err msg

Error . "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$sqry' at line 1 "

while executing query from php5.3.5
but its working directly in mysql5.5.8

Help?

Re: Error No. 1064 in php but its working in mysql5.5.8 dire

Posted: Sat Aug 27, 2011 12:39 pm
by AbraCadaver
There is an error in your SQL syntax.