Re: PHP + Interbase SERIOUS PROBLEM
| From: | Jeffery Cann | Date: | Tue, 03 Oct 2000 12:28:42 +0000 |
| Subject: | Re: PHP + Interbase SERIOUS PROBLEM | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3257@lists.php.net to get a copy of this message | ||
Great tip! Switching the order of the parameters in ibase_query worked.
Before this post, I was able to use the Interbase 5.6 client ODBC drivers.
I'll keep testing. The only explanation of why it runs on Linux must be
the version difference between PHP 4.0.0 (Linux) and PHP 4.0.2 (NT).
Thanks again!
Jeff
Juha Hartikainen wrote:
> > This same script (different dbName) runs *perfectly on Linux*.
>
> Cool :-)
>
> > I am really stuck and I have no idea what to try now. Any help is
> > greatly appreciated!
> > [SNIP]
> > $sth = ibase_query( $dbh, $sql );
>
> Just change the order of $dbh and $sql to:
> $sth = ibase_query( $sql,$dbh );
>
> Documentation seems to be wrong for the function.
> I wonder how it works in Linux anyway!
>
> -Juha
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Protect On-Line Free Speech!
http://www.eff.org/support/joineff.html