Hi

Maybe it is in the manual, but i can´t find it in the way i need.
Does anybody know where to find a complet list of MySQL error codes with
number and descripcion in order to make a library for handling and
reporting alerts to users in php????


Hola Javier,

Yes it is in the manual - but try the PHP manual (not MySQL's).
The PHP online annotated manual is 'down' at the moment (update happening?) so I can't 
give you a reference - apologies.

In addition to the familiar PHP-MySQL functions, eg mysql_query($sqlQuery, $dbLink)
There are two more: mysql_errno() and mysql_error() which return an error number and 
error text (from the 'latest' MySQL
function executed) - or zero and empty-string if the execution 'worked'.

It's important to perform error-checking, but some would suggest that it should not be 
reported to "users" - under
'normal' circumstances!?

Regards,
=dn



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to