note 3257 deleted from features.persistent-connections by jimw

From: Date: Tue, 18 Dec 2001 20:36:21 +0000
Subject: note 3257 deleted from features.persistent-connections by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23204@lists.php.net to get a copy of this message
$MySQLLink = mysql_pconnect("localhost", "myUser", "myPasssword"); $MySQLQuery = "SELECT * FROM mytable"; $MySQLResult = mysql_query($MySQLQuery, $MySQLLink); while($MyRow = mysql_fetch_row($MySQLResult) {print($MyRow)} It's just like using a normal connection, just use the according "pconnect" function Hope this'll help ya guys Chris

« previous php.notes (#23204) next »