title: sql query not working for stored procedure in PHP
body: <p>I have a stored procedure in sql server.When I try to use the php function to get the results,its not working.</p>
  
  <pre><code>echo mssql_query(exec MOB_uspcommunication_details $userID,'send');
  </code></pre>
  
  <p>This gives result as <code>1</code> instead of resourceID.When I run the query in sql server its giving me the result.
  When I change the second parameter to some other value like this,its working from PHP side.</p>
  
  <pre><code> echo mssql_query(exec MOB_uspcommunication_details $userID,'inbox');
  </code></pre>
  
  <p>This gives me resourceid#10 and I am getting the results.</p>
  
  <p>For the first query,I am not able to understand why this happens.Please help me</p>