ID: 8089
Updated by: sniper
Old-Status: Open
Status: Closed
Bug Type: ODBC related
Assigned To: 

According to phobo <[EMAIL PROTECTED]>,
ODBC Error functions are now written as of php404.


Previous Comments:

[2000-12-04 02:00:27] [EMAIL PROTECTED]
I am having a problem because ODBC error messages are sent to standard output and 
there doesn't seem to be a function to capture the ODBC error message. 

May i suggest a new ODBC function ODBC_Error() which saves the last error message for 
each connection.


$ok = ODBC_Execute($id,'select * from badtable');
if (!$ok) LogError(ODBC_Error($id));

This can be implemented in php_odbc.c, presumbly by modifying the odbc_sql_error 

461 void odbc_sql_error(ODBC_SQL_ERROR_PARAMS)


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to