I am trying to call a MS SQL SP from a php script. When I tried calling the procedure which required an parameter as input (hardcoded the parameter for now ), it failed. The code is below:
I am currently connecting sucessfully to an SQL database sat on a Windows 2008 using the following query;
I want to execute a stored procedure into my PHP code, this stored procedure has an IN and an OUT parameter. The stored procedure is this:
I am trying to execute a stored procedure from php. In the php code iam sending a integer parameter to the stored procedure
I have a stor开发者_JAVA技巧edProceedure \'spGetOrderByID\' in the sql server. Which gives a record according the given order id.
I\'m working on a web app that is using PHP and MSSQL.One of my re开发者_如何转开发quirements is to use the field descriptions in MSSQL in part of the web app.
I am currently using SQL Server 2000 Stored Procedures with PHP. Following the PHP doc, I use mssql_bind to assign value of parameters and then execute the Stored Procedure.