note 23420 deleted from function.mssql-rows-affected by didou

From: Date: Sat, 03 Mar 2007 18:39:33 +0000
Subject: note 23420 deleted from function.mssql-rows-affected by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124046@lists.php.net to get a copy of this message
Note Submitter: blakjak at NOSPAM dot com dot au ---- At the time of writing this note, the mssql_rows_affected function doesn't seem to be working. If you need to access the number of rows affected by the most recent mssql query, you can grab the @@ROWCOUNT variable. A quick example of how to do this: function rows_affected(){ $result = mssql_query("SELECT @@ROWCOUNT"); list($affected) = mssql_fetch_row($result); return $affected; }

« previous php.notes (#124046) next »