database connection question..
Posted: Sat Apr 15, 2006 12:45 pm
mysql_connect and mysql_pconnect are two different php functions for db connections...correct me if i'm wrong...what is your preference in connecting to mysql database??
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
I always thought it was the opposite, that using pconnect() is prefered for a small user base.. while normal connect() is prefered for higher volume sites.arborint wrote:I think you should start with mysql_connect() and use it until you have a site that needs mysql_pconnect().