Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL error: 1064

Status
Not open for further replies.

arm207

Programmer
Jun 13, 2006
26
0
0
US
Does anyone know what generally causes error code 1064 to appear?

as in...
Fatal error: MySQL error: 1064 : You have an error in your SQL syntax near '' at line 1 in
 
b/c the sql syntax is correct, it works the first time, however when page gets reloaded, error code 1064 appears.
 
oops never mind, what had happened was that I had an if case for a registered session so that code didn't execute the first time around, but it did the 2nd time around since session was registered. So that piece of code had contained the sql error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top