Forum Webscript.Ru
Общие => Базы данных => Тема начата: MrGreeN от 24 Июня 2003, 16:32:25
-
Есть переменная которая передаётся, и должно быть значение возвращаемое после отработки процедуры.
Как это организовать?(MS SQL+PHP)
не так ли:
$con=mssql_connect ( " servername ", " username ","password");
mssql_init (my_proc@value=$value,$con);
$result=mssql_execute ($con);
echo $result;
-
так
[p]mssql_execute[/p]
if the stored procedure returns parameters or a return value these will be available after the call to mssql_execute() unless the stored procedure returns more than one result set. In that case use mssql_next_result() to shift through the results. When the last result has been processed the output parameters and return values will be available.
-
Thanks...