mysql_connect is a normal mysql connection which opens and closes on each page. While mysql_pconnect is a persistant connection which will be open once and remained open throught the session.
mysql_pconnect does't work on high traffic because we have a limited number of mysql connections.
So using mysql_connect is good to use.
1 comment:
I would like to exchange links with your site ajaysharavat.blogspot.com
Is this possible?
Post a Comment