Re: [PHP-DB] mysql connect, while and close big problem

2002-02-22 Thread Killer Angel Clark

non-persistent.
I would also like to ask the difference between persistent and
non-persistene connection?

Ray Hunter [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 What type of connections are you making persistent or non-persistent?

 Ray Hunter
 Firmware Engineer

 ENTERASYS NETWORKS


 -Original Message-
 From: Killer Angel Clark [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 21, 2002 10:17 AM
 To: [EMAIL PROTECTED]
 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




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] mysql connect, while and close big problem

2002-02-21 Thread Hunter, Ray

What type of connections are you making persistent or non-persistent?

Ray Hunter
Firmware Engineer

ENTERASYS NETWORKS


-Original Message-
From: Killer Angel Clark [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 21, 2002 10:17 AM
To: [EMAIL PROTECTED]
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