...

View Full Version : mysql error created by if statement



c1lonewolf
02-12-2013, 07:12 AM
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?

felgall
02-12-2013, 07:26 AM
Without seeing the code it is impossible to tell.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum