I'd like to catch all the queries. I'd like to use a log table, when I
have a problem with the query, add a record with the query number, the
query, date and time, and have a url to go to a page without error.
My idea was to create a session array with, by cell :
- the query
- query number
- URL to go back
Do you think it's a good idea ? Do you have an another idea to do this
kind of think ?
array_error = $query;
array_error = 1;
array_error = "/main/index.php"
msql_query($query) or die(header ../add_error.php);
Have any experience in this domain (error catching)
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php