Re: Query runs fine on Console but not in PHP
| From: | Robert Twitty | Date: | Mon, 18 Aug 2003 13:28:14 +0000 |
| Subject: | Re: Query runs fine on Console but not in PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29939@lists.php.net to get a copy of this message | ||
What platform are you using? Since it appears that the script is
crashing, you are probably on Linux or some other UNIX flavor. If this is
the case, the TDS protocol setting may not be correct. What type of date
are you retrieving with this stored procedure?
-- bob
On Sun, 17 Aug 2003, vish.kohli wrote:
> 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
>
>