geedee Posted May 22, 2006 Share Posted May 22, 2006 hi all,can someone please help.I get the same error msg when someone tries to register on my site.can someone help please.Much appreciated if you can.thanksYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 10, 10, 0, '2006-05-21 19:07:28', 0, '2006-05-21 19:07:28', 'no', 'Un-verifi' at line 1 Quote Link to comment https://forums.phpfreaks.com/topic/10171-please-help-mysql-syntax-error/ Share on other sites More sharing options...
semtex Posted May 22, 2006 Share Posted May 22, 2006 sure the datetime fields are "datetime" and not "date"?is this the mysql_error() message? Quote Link to comment https://forums.phpfreaks.com/topic/10171-please-help-mysql-syntax-error/#findComment-37920 Share on other sites More sharing options...
samshel Posted May 22, 2006 Share Posted May 22, 2006 Hello,Please post your complete SQL query.If possible, echo the query before you are executing in the script and post it here. Quote Link to comment https://forums.phpfreaks.com/topic/10171-please-help-mysql-syntax-error/#findComment-37921 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.