Query runs fine on Console but not in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to execute a stored procedure in PHP via mssql_query ()
function. I pass 8 parameters to it.
The query runs fine in SQL Query Analyzer but when I run it thru PHP, it
behaves strangely. I can get number of rows (mssql_num_rows()) and number of
fields (mssql_num_fields()) in PHP, but when I try to execute
mssql_fetch_object() or mssql_fetch_array() on the same result identifier, I
get a "Page could not be displayed" (standard internet error page).

Please help.
Thanks in advance.



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux