Re: [PHP] mysql_error() not really helping

2001-02-14 Thread Christian Dechery
Christian - You need to be checking the return values of the mysql_*() functions. Make sure you're not calling them with a @mysql_*() as that will disable error reporting. Perhaps you should give us some examples of what's failing and how? Also, if the server isn't yours the server admin may

[PHP] mysql_error() not really helping

2001-02-13 Thread Christian Dechery
I'm having a little trouble here developing and running queries. I spent some time developing in ASP, and whenever there was something wrong with a query, the script halted, and the error message - from ODBC, tye sql syntax error - was printed along with the line of code. In PHP that's not

Re: [PHP] mysql_error() not really helping

2001-02-13 Thread scottrus
Christian - You need to be checking the return values of the mysql_*() functions. Make sure you're not calling them with a @mysql_*() as that will disable error reporting. Perhaps you should give us some examples of what's failing and how? Also, if the server isn't yours the server admin may

Re: [PHP] mysql_error() not really helping

2001-02-13 Thread David Robley
On Wed, 14 Feb 2001 13:01, Christian Dechery wrote: I'm having a little trouble here developing and running queries. I spent some time developing in ASP, and whenever there was something wrong with a query, the script halted, and the error message - from ODBC, tye sql syntax error - was