Let me help with this problem, please.
Have anyone any idea why the first statement works and the second not ?


$dbh=ibase_connect($host, $user, $pass) or die("Connection error");
$result=ibase_query("select * from tablename");


$dbh=ibase_connect($host, $user, $pass) or die("Connection error");
$result=ibase_query($dbh, "select * from tablename");

=> Warning: 0 is not a valid ... or Php crash

Even if the first statement works for select, it does'n work for update statements 
where I must use ibase_trans and ibase_commit, which is the real problem for me.

Things happens on a Win32SE, Interbase6 and Php4.

Thank you.


K Free E-mail http://www.k.ro/
by KappaNet http://www.kappa.ro/

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to