Error acceding Interbase with PHP 4
| From: | Sergio García | Date: | Mon, 18 Sep 2000 17:08:37 +0000 |
| Subject: | Error acceding Interbase with PHP 4 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2449@lists.php.net to get a copy of this message | ||
I'm install Php with apxs and --with-interbase=/opt/interbase4/interbase/i586-V4.0G that is de
base directory where is instal Interbase.
I'm create a DB SERGIO with isql in direcctory /opt/interbase4/interbase/i586-V4.0G and with
table NOMBRES.
I try to execute de follow code:
<?php
echo "<HTML>";
echo "<BODY>";
echo "nada";
$BD = ibase_connect("/opt/interbase4/interbase/i586_V4.0G/bin/Sergio",
"sysdba", "masterkey");
$query="SELECT * FROM NOMBRES";
$Res=ibase_query("SELECT * FROM NOMBRES",$BD);
ibase_free_result($Res);
ibase_commit();
?>
</BODY>
</HTML>
and optein de error code:
nada=ibase_query(Resource id #1,SELECT NOMBRE FROM NOMBRES)
Warning: InterBase: Dynamic SQL Error SQL error code = -901 feature is not supported in
/usr/local/apache/htdocs/index.php on line 9
Warning: Supplied argument is not a valid InterBase result resource in
/usr/local/apache/htdocs/index.php on line 10
Can You help My.