note 9578 modified in function.mssql-num-rows by felipe

From: Date: Tue, 22 Jul 2008 02:28:46 +0000
Subject: note 9578 modified in function.mssql-num-rows by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142464@lists.php.net to get a copy of this message
For getting something like "mssql_affected_rows" call: <?php $rsRows = mssql_query("select @@rowcount as rows", $db); $rows = mssql_result($rsRows, 0, "rows"); ?> after execution of the query (UPDATE, INSERT or DELETE). --was-- For getting something like "mssql_affected_rows" call: $rsRows = mssql_query("select @@rowcount as rows", $db); $rows = mssql_result($rsRows, 0, "rows"); after execution of the query (UPDATE, INSERT or DELETE). http://php.net/manual/en/function.mssql-num-rows.php

« previous php.notes (#142464) next »