RE: [PHP-DB] mysql connect, while and close big problem
| From: | Hunter, Ray | Date: | Thu, 21 Feb 2002 18:02:48 +0000 |
| Subject: | RE: [PHP-DB] mysql connect, while and close big problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17151@lists.php.net to get a copy of this message | ||
What type of connections are you making persistent or non-persistent?
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: Killer Angel Clark [mailto:ck3380@sinaman.com]
Sent: Thursday, February 21, 2002 10:17 AM
To: php-db@lists.php.net
Subject: [PHP-DB] mysql connect, while and close big problem
I make a connection A to get an array of result.
Then use a while loop to use the array.
In the while loop, I use the data to select other data by making a new
connection. After printing the data, I close this new connection. After the
while loop, I close the first connection too.
If only have the first connection, it has no problem.
But with the select in the while loop and close the new connection, it has
an error on closing. Does anyone know why and how to fix it??
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php