Re: SQL and PHP: Incorrect errorcode

2007-02-25 Thread Atle Veka
Joern, is the client version of mysql in PHP the same as your client libs on the server (where you run perror)? PHP is often times compiled with its own mysql libs and you have to specifically tell PHP to build with the system mysql libs if you want to. Just a thought. Atle On Sun, 25 Feb 2007,

SQL and PHP: Incorrect errorcode

2007-02-25 Thread Jørn Dahl-Stamnes
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 fiel