Hello folks,

I was playing around with my PHP code that shall report any SQL error. To test 
this code I made an error in a SQL query by changing the table name in the 
field list to a table that did not exist.

This triggered the following error:

        Error message: 'Unknown table 'q' in field list'
        Error code: 1109

The error message is correct, but the problem is that the error code (returned 
by mysql_errno) is not correct.
A 'perror 1109' say "Illegal error code: 1109".

It seems like the error number returned by mysql_errno is not to be trusted, 
or? Any comments?

-- 
Jørn Dahl-Stamnes
homepage: http://www.dahl-stamnes.net/dahls/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to