bobbychla Posted August 27, 2011 Share Posted August 27, 2011 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? Quote Link to comment https://forums.phpfreaks.com/topic/245809-error-no-1064-in-php-but-its-working-directly-in-mysql558/ Share on other sites More sharing options...
voip03 Posted August 27, 2011 Share Posted August 27, 2011 can you post the code. Quote Link to comment https://forums.phpfreaks.com/topic/245809-error-no-1064-in-php-but-its-working-directly-in-mysql558/#findComment-1262583 Share on other sites More sharing options...
php_begins Posted August 27, 2011 Share Posted August 27, 2011 Try to print the query before executing it and post what you see.. Quote Link to comment https://forums.phpfreaks.com/topic/245809-error-no-1064-in-php-but-its-working-directly-in-mysql558/#findComment-1262588 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.