what is better? mysql_connect() or mysql_pconnect()?
| From: | VirtualSolution [Virtualsolution.net] | Date: | Tue, 24 Apr 2001 09:38:43 +0000 |
| Subject: | what is better? mysql_connect() or mysql_pconnect()? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50037@lists.php.net to get a copy of this message | ||
[PHP] what is better? mysql_connect() or mysql_pconnect()?
mysql_pconnect()
is better for a web application because is lighter for the server, (the connection is not permanent)