[PHP] Why use persistent connections? || Data driven site

2003-02-22 Thread CF High
Hey all. We've got a site makes several queries to our MySql db in every site page. Should we be using persistent connections, or are we better off opening and closing connections on each query? Thanks for any leads, --Noah -- -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Why use persistent connections? || Data driven site

2003-02-22 Thread John W. Holmes
We've got a site makes several queries to our MySql db in every site page. Should we be using persistent connections, or are we better off opening and closing connections on each query? You should open a connection at the beginning of your page, run your multiple queries, and then close it at