August 13th, 2000, 07:08 AM
What is better to use ???
mysql_connect or mysql_pconnect
August 13th, 2000, 09:55 AM
I use mysql_connect, I've never heard of mysql_pconnect
Tell me more...
August 13th, 2000, 10:24 AM
pconnect() reduces the overhead of creating a new connection from PHP to MySQL by using an existing connection. Of course, this only works with using PHP as a server module.
So, if you are using PHP CGI, pconnect has no benefit.