If you haven't found it yet, look into mssql_init/mssql_bind/mssql_execute, which uses parameters to pass values into stored procedures. This is considered "the way" to do things in PHP with MS SQL. Also note the complaints about PHP not working with SQL 2005 Express and how to fix it in the comments are of the PHP doc section on MSSQL.
|