AW: [PHP-DB] PHP4 + interbase 6 : UPDATE or INSERT has no effect
| From: | Michael Rudel | Date: | Mon, 22 Jan 2001 13:39:26 +0000 |
| Subject: | AW: [PHP-DB] PHP4 + interbase 6 : UPDATE or INSERT has no effect | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-6028@lists.php.net to get a copy of this message | ||
Hi Nicolas,
... don't you need a COMMIT on IB6-DB ???
Hope this helps.
Greetinx,
Mike
(Germany)
-----Ursprüngliche Nachricht-----
Von: nicolas [mailto:nicolas.camil@libertysurf.fr]
Gesendet: Montag, 22. Januar 2001 14:39
An: php-db@lists.php.net
Betreff: [PHP-DB] PHP4 + interbase 6 : UPDATE or INSERT has no effect
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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net