[PHP-DB] Interbase select problem

2001-05-23 Thread alpopescu
Somebody please tell me why the first statement works and the second doesn't. 1. ... $dbh=ibase_connect("host","$user","$pass") or die("Connection Error"); $q="SELECT * FROM mytable"; $result=ibase_query($q) or die("SELECT Error"); ... 2. ... $dbh=ibase_connect("host","$user","$pass") or die(

[PHP-DB] Interbase problem

2001-05-20 Thread alpopescu
Hi, Let me help with this problem, please. Have anyone any idea why the first statement works and the second not ? 1. $dbh=ibase_connect($host, $user, $pass) or die("Connection error"); $result=ibase_query("select * from tablename"); ... ibase_close(); 2. $dbh=ibase_connect($host, $user, $p