March 26th, 2004, 05:11 AM
error with SELECT query on Linux
I'm creating a web site that communicates with Firebird 1.5.
Everything goes fine on Apache 2.0 (php 4.3.4) on my Win2000. But, as I send it to linux computer (apache 1.3.29, php 4.3.4) some queries seem not to work:
$query="select * from polisy where numer_porzadkowy='$polisa'";
$result = @ibase_query($db, $query);
$row = @ibase_fetch_object($result);
Here, $result is true but $row is false - and it should be true (tested on win2000 :-)
Similar queries (other "select") work fine...
Any ideas why??