RE: [PHP-DB] Pb with Interbase 6 / php 4.0.2 / NT Workstation
| From: | Juha Hartikainen | Date: | Mon, 02 Oct 2000 11:51:50 +0000 |
| Subject: | RE: [PHP-DB] Pb with Interbase 6 / php 4.0.2 / NT Workstation | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3209@lists.php.net to get a copy of this message | ||
Boris (+others with Interbase+PHP headache),
Following line was invalid (in Boris' script):
"$qry = ibase_query($dbh, "SELECT * FROM MATERIEL");"
Documentation is WRONG, and correct format for ibase_query is:
ibase_query("SELECT * FROM MATERIEL", $dbh);
So first comes the query and then database handle.
Script should work now and what best _NOT CRASHING_ the PHP :-)
-Juha