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? 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. 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.. 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
Archived
This topic is now archived and is closed to further replies.