note 43869 added to function.mysql-pconnect

From: Date: Tue, 06 Jul 2004 21:57:09 +0000
Subject: note 43869 added to function.mysql-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-72797@lists.php.net to get a copy of this message
You also may consider using pconnect if you have transactions that span multiple pages. For example, in applications that I develop, I start a transaction on the moment I query selecting the data that the user plans on editing. I then commit the transactions after the user hits the submit button and the data is committed. I cannot simply use mysql_connect as then the connection would be terminated at the end of the page and if I did not commit my transaction, it is automatically rolled back. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43869 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43869&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43869&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72797) next »