I am trying to execute a stored procedure from php.
In the php code iam sending a integer parameter to the stored procedure
$orderId =824;
$result =mssql_bind($sp, "@orderID", $orderId, SQLINT1, true, false);
I getting an error
mssql_execute() [function.mssql-execute]: message: The formal parameter "@orderID" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output. (severity 16)
Can any one say the reason please