On Tue, 2006-06-20 at 12:34, Juanjo Pascual wrote:
> How can i know which of both is better to use each time?

Use mysql_pconnect() if the connection overhead is large. This is
usually the case if the database is off on a remote server somewhere in
lala land. Remote servers within your LAN don't usually require
mysql_pconnect(). Use mysql_connect() for pretty much all other

| InterJinn Application Framework - http://www.interjinn.com |
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to