When you get an error code, the full error message tells you what line the error is on.
Can't connect because Unknown column 'XXX' in "where clause'
Collapse
X
-
From the PHP manual:
The PHP errors which are normally returned can be quite helpful to a developer who is trying to debug a script, indicating such things as the function or file that failed, the PHP file it failed in, and the line number which the failure occurred in.Comment
Comment