Re: mysql connect, while and close big problem
| From: | Killer Angel Clark | Date: | Fri, 22 Feb 2002 19:03:16 +0000 |
| Subject: | Re: mysql connect, while and close big problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17201@lists.php.net to get a copy of this message | ||
non-persistent.
I would also like to ask the difference between persistent and
non-persistene connection?
"Ray Hunter" <rhunter@enterasys.com> ¼¶¼g©ó¶l¥ó
news:59358A738F45D51186A30008C74CE250E813FF@slc-exc1.ctron.com...
> 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
>