Re: PHP + Interbase SERIOUS PROBLEM

From: Date: Tue, 03 Oct 2000 12:37:19 +0000
Subject: Re: PHP + Interbase SERIOUS PROBLEM
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-3258@lists.php.net to get a copy of this message
Jeffery Cann wrote: > 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). This hypothesis is wrong! Under my PHP on Linux, queries work regardless of the order of the parameters in ibase_query. They will only work as you suggested on PHP Windows. Odd, indeed! Jeff > > > 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 > > -- > 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

« previous php.db (#3258) next »