Re: [PHP-DB] PHP Processing

2004-01-05 Thread fossybeer
ALL OR NOTHING: (works i.e. with MS ACCESS - ODBC) function prepare() { global $conn; $result = odbc_prepare ( $conn, "CREATE TABLE XX(test int);CRATE TABLE YY;"); if(odbc_execute($result)){echo "Everything is OK (but shouldn't!).";} else{echo "Error in the statement. Table XX should NOT be ther

Re: [PHP-DB] PHP Processing

2004-01-05 Thread fossybeer
We use the Access-Engine via ODBC. And it sopports rollbacks. But, please, how could I rollback, what I want to, when I use a p-connection. For example: Transaction 1 (UPDATE TAB1...); Transaction 2 (UPDATE TAB2...); Between Transaction1 and Transaction2 the Connection to the DB gets interrupted

Re: [PHP-DB] PHP Processing

2004-01-05 Thread Chris Berlioz
half way through which I'd imagine could cause a problem. <>< Ryan -Original Message- From: Peter Westergaard [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 3:14 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] PHP Processing I'm sorry, I feel dense coming to the list for

RE: [PHP-DB] PHP Processing

2004-01-05 Thread Ryan Jameson (USA)
eems to do the trick. <>< Ryan -Original Message- From: Alan Langford [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 3:48 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-DB] PHP Processing Do a search for "user stop" in the PHP manual, there you will fi

Re: [PHP-DB] PHP Processing

2004-01-05 Thread Alan Langford
Do a search for "user stop" in the PHP manual, there you will find "connection handling" and the ignore_user_abort function. At 2004/01/05 17:14, Peter Westergaard wrote: I'm sorry, I feel dense coming to the list for this, because I'm SURE I've read about this in the PHP or Mysql docs, but I can

RE: [PHP-DB] PHP Processing

2004-01-05 Thread Ryan Jameson (USA)
riginal Message- From: Peter Westergaard [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 3:14 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] PHP Processing I'm sorry, I feel dense coming to the list for this, because I'm SURE I've read about this in the PHP or Mysql docs,

[PHP-DB] PHP Processing

2004-01-05 Thread Peter Westergaard
I'm sorry, I feel dense coming to the list for this, because I'm SURE I've read about this in the PHP or Mysql docs, but I can't seem to locate where. Let's say users submit a form which is processed by a PHP page which performs a number of MySQL INSERT, UPDATE, and/or DELETE commands. . What