[PHP-DB] error handling

2005-03-15 Thread Chenri
hello, how can i use error_log( ) function to capture the error occured in my server, currently the Error warning is switched off and i can't turn it on because it is in production server the problem is the query miss some records, and i didn't see it's error message beside this code

[PHP-DB] Error handling

2005-03-11 Thread Guillermo
Hi, I'm new to PHP; I installed version 5.0.3 using Apache 2 and Postgres 8 on Win XP SP2. I have a connection class and one of its methods is: public function EjecutaSQL($pe_textoSQL = ) { return pg_query($this-id, $pe_textoSQL); } where $pe_textoSQL contains the SQL sentence. If

Re: [PHP-DB] error handling in query execution

2005-03-04 Thread Jochem Maas
Chenri wrote: i have a script that update records with this construct: while( ){ query_string='UPDATE ...'; updateRecord(query_string); } the problem is when there are wrong query_string (such as incorect syntax) can i make sure that the other query, the next one after the

[PHP-DB] error handling with ms sql server (mssql) - insert and update unique indexes

2002-08-28 Thread Heiko Mundle
sorry for posting this mail twice, but the first one doesn't appear on the news server (posting with google, doesn't work...) Hi, when I insert a new record with a unique indexed attribute, which is already in the table, I only get some php warnings: Warning: MS SQL message: Cannot insert

[PHP-DB] Error handling with connection?

2001-01-20 Thread John Coonrod
When a database connection fails, how do I detect that in my script so I can skip all the rest? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL