note 34787 added to function.mssql-execute
| From: | gstratfordATdas dot ca at rack1 dot php dot net | Date: | Wed, 06 Aug 2003 18:25:20 +0000 |
| Subject: | note 34787 added to function.mssql-execute | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53528@lists.php.net to get a copy of this message | ||
The easiest way to use a stored procedure is:
$Result = mssql_query("StoredProcedureName Var1, Var2, Var3...");
$Result is then just like any other result set. You can get the output parameters by:
$arr = mssql_fetch_row($Result);
$OutputParam1 = $arr[0];
$OutputParam2 = $arr[1];
----
Manual Page -- http://www.php.net/manual/en/function.mssql-execute.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34787
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34787&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34787&report=yes