Re: [PHP-WIN] Problem with Insert with ODBC

2003-07-01 Thread Radovan Radic
Try this: odbc_error Get the last error code (PHP 4 >= 4.0.5) string odbc_error ( [resource connection_id] ) "Veselina Jecheva" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can I do this - odbc_exec returns just false on error? > > At 16:41 6/30/03 +0200, Svensson, B.A.T. (HKG

RE: [PHP-WIN] Problem with Insert with ODBC

2003-07-01 Thread Veselina Jecheva
How can I do this - odbc_exec returns just false on error? At 16:41 6/30/03 +0200, Svensson, B.A.T. (HKG) wrote: >You ought to test for an error in your "error detection" >not for an return value on the execute of an SQL query. > >> -Original Message- >> From: Veselina Jecheva [mailto:[EMA

RE: [PHP-WIN] Problem with Insert with ODBC

2003-06-30 Thread Svensson, B.A.T. (HKG)
You ought to test for an error in your "error detection" not for an return value on the execute of an SQL query. > -Original Message- > From: Veselina Jecheva [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 3:19 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Problem with Insert wi