||02-12-2013 08:12 AM
mysql error created by if statement
I have a script where I use the 'insert into table' command to add a new entry to the data table. It's used in a switch and has no problems, however, when I copied it as is to an if statement I got an error telling me to check my version syntax next to '' at line 1. I removed the if satement and it ran perfectly when tested. So why would an if statement cause an error?
||02-12-2013 08:26 AM
Without seeing the code it is impossible to tell.
|All times are GMT +1. The time now is 07:02 AM.
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.