[thelist] php/MySql Help Please
Ron Dorman
rwd at csi1st.net
Tue Oct 2 23:05:20 CDT 2001
Jeremy Ashcraft wrote:
> example: (this writes an error message to sql_error.log, mind the wrap)
>
> ........
> mysql_query($sql_statement) or error_log("Error: bad query:
> $sql_statement",3,"/path/to/sql_error.log");
> .........
>
> HTH
Thanks Jeremy. With some additional code we could write custom error messages
back to the browser for the end user and email programmers in addition to
capturing the error in the log, right?
I love learning, thanks to all who responded tonight.
Ron D.
More information about the thelist
mailing list