php error

A

Anonymous

Guest
That particular error typically means that your query failed. It could be because of a connection issue (bad hostname or credentials) a syntax error, etc. Typically the best way to identify the issue is to either view source on the page where you're seeing it, to see if the SQL error is embedded in your source code, or to output your assembled sql string prior to executing it, and paste it into phpmyadmin or mysql to see what error it spits out.
 
Back
Top