note 19736 added to function.odbc-error

From: Date: Sat, 09 Mar 2002 01:26:56 +0000
Subject: note 19736 added to function.odbc-error
Groups: php.notes 
Request: Send a blank email to php-notes+get-27542@lists.php.net to get a copy of this message
If you use an argument, make sure its the CONNECTION_ID and not the RESULT_ID. Testing the result can return a null string or sometimes a garbage string. # -- Example code -- $rs = odbc_exec($dbc, $sql); #this is wrong but won't error out until #you demo the page for a client! if (odbc_error($rs)) die(...); #these work if (odbc_error()) die(...); if (odbc_error($dbc)) die(...); -- http://www.php.net/manual/en/function.odbc-error.php http://master.php.net/manage/user-notes.php?action=edit+19736 http://master.php.net/manage/user-notes.php?action=delete+19736 http://master.php.net/manage/user-notes.php?action=reject+19736

« previous php.notes (#27542) next »