Hi Nicolas,

... don't you need a COMMIT on IB6-DB ???

Hope this helps.

Greetinx,
  Mike
(Germany)

-----Ursprüngliche Nachricht-----
Von: nicolas [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 22. Januar 2001 14:39
An: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to