note 21939 added to function.sybase-affected-rows

From: Date: Fri, 31 May 2002 15:24:33 +0000
Subject: note 21939 added to function.sybase-affected-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-31290@lists.php.net to get a copy of this message
The sybase_affected_rows() function seems to work now with the Sybase DB Library. Not sure when this improvement was made, but I'm currently running PHP 4.1.2 on Solaris. Affected rows seems to return a -1 if the query syntax was incorrect on the last submitted query. Affected rows returns 0 if no rows were affected or another error occured, such as a foreign key violation and also returns 0 if the query was successfully, but no records were affected by the query. If the query was valid and did affect some rows, sybase_affected_rows() seems to be returning the correct number. -- http://www.php.net/manual/en/function.sybase-affected-rows.php http://master.php.net/manage/user-notes.php?action=edit+21939 http://master.php.net/manage/user-notes.php?action=delete+21939 http://master.php.net/manage/user-notes.php?action=reject+21939

« previous php.notes (#31290) next »