Re: transaction

From: Date: Sun, 19 Aug 2001 11:50:35 +0000
Subject: Re: transaction
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63386@lists.php.net to get a copy of this message
Nafiseh Saberi wrote: > > hi. > in large database with php,postgres > and when in each time come many request , > how do we implement transactions?? > nafiseh. If you are wanting to run several queries in the one script though the one transaction - you'll need to send a begin(as a query) and execute it - then to the same connection send all your other queries as normal, and follow it up with a commit.

« previous php.general (#63386) next »