PHP4 + interbase 6 : UPDATE or INSERT has no effect

From: Date: Mon, 22 Jan 2001 13:39:00 +0000
Subject: PHP4 + interbase 6 : UPDATE or INSERT has no effect
Groups: php.db 
Request: Send a blank email to php-db+get-6027@lists.php.net to get a copy of this message
I can't write into IB6 database from PHP4 with the folling code. I have no error but table1 is not updated. (SELECT queries run fine) <?php $host = "server1"; $database = "/opt/interbase/db/MaBase.gdb"; $login = "admin"; $password = "admin"; $c = ibase_connect( $host .":". $database, $login, $password); $sql = "UPDATE table1 SET champ1 = 'toto' "; ibase_query ($c, $sql ); ibase_close ( $c ); ?> The problem is the same with INSERT. I haven't try DELETE yet. Regards Nicolas

« previous php.db (#6027) next »