[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-db
Subject:    [PHP-DB] Another Interbase question
From:       Yves Glodt <y.glodt () vo ! lu>
Date:       2001-08-23 19:10:59
[Download RAW message or body]

Look at this:

<?php
include('include.php');

$dbh = connectdb();
$sth = ibase_prepare('INSERT INTO LOG 
(DATETIME,REMOTE_ADDR,HTTP_HOST,QUERY_STRING,HTTP_USER_AGENT,REQUEST_URI,HTTP_REFERER) 
VALUES (?,?,?,?,?,?,?)');
ibase_execute($sth,
$now,
$HTTP_SERVER_VARS['REMOTE_ADDR'],
$HTTP_SERVER_VARS['HTTP_HOST'],
$HTTP_SERVER_VARS['QUERY_STRING'],
$HTTP_SERVER_VARS['HTTP_USER_AGENT'],
$HTTP_SERVER_VARS['REQUEST_URI'],
$HTTP_SERVER_VARS['HTTP_REFERER']);
ibase_commit();
ibase_close($dbh);

?>

when it gets called, and I do a select in isql, I do not see any of the 
records. Only after doing a "manual" commit in isql, I can see the new 
data.

How is that possible?

yves

--
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic