Re: What is the proper way to use mysql db on a multipage site?
| From: | Chris Shiflett | Date: | Fri, 26 Sep 2003 20:54:31 +0000 |
| Subject: | Re: What is the proper way to use mysql db on a multipage site? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164072@lists.php.net to get a copy of this message | ||
--- Daevid Vincent <daevid@daevid.com> wrote:
> But it just seems so wasteful to keep making that mysql_connect().
>
> Isn't there a way to store the $db result so I don't have to keep
> connecting.
http://www.php.net/mysql_pconnect
Hope that helps.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/