note 28911 added to function.mssql-next-result
| From: | pattath at hotmail dot com | Date: | Mon, 27 Jan 2003 21:21:50 +0000 |
| Subject: | note 28911 added to function.mssql-next-result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42881@lists.php.net to get a copy of this message | ||
I am on PHP 4.1.1.
Warning: mssql_execute: multiple recordsets from a stored procedure not supported yet! (Skipping...)
in c:\foxserv\www\demo\multiresult.php on line 20
The code used :
$link = mssql_connect ("localhost", "sa", "demopw");
mssql_select_db("demo_db", $link);
$stmt=mssql_init("sp_test",$link);
$rs=mssql_execute($stmt);
do {
while ($row = mssql_fetch_row($rs)) {
echo $row[6]; echo "<br>";
}
} while (mssql_next_result($rs));
mssql_free_result($rs);
mssql_close ($link);
--
http://www.php.net/manual/en/function.mssql-next-result.php
http://master.php.net/manage/user-notes.php?action=edit+28911
http://master.php.net/manage/user-notes.php?action=delete+28911
http://master.php.net/manage/user-notes.php?action=reject+28911