note 9578 added to mssql_num_rows
| From: | h dot schuemann at cyquest-ag dot de | Date: | Mon, 13 Nov 2000 15:13:06 +0000 |
| Subject: | note 9578 added to mssql_num_rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7635@lists.php.net to get a copy of this message | ||
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://www.php.net/manual/function.mssql-num-rows.php