-
Contributing Member
Provide Insight about the Difference
I want to know the difference between mysql_connect() and mysql_pconnect()? A brief idea on this is welcome.
-
Contributing Member
Re: Provide Insight about the Difference
The following two links gives a detailed explanation on the difference between mysql_connect() and mysql_pconnect()
http://www.php.net/manual/en/function.mysql-pconnect.php
PHP: mysql_connect - Manual
-
Expert Member
Re: Provide Insight about the Difference
mysql_connect - opens a connection to the mysql server and closes when we use mysql_close
mysql_pconnect - this opens a constant connection to the mysql server which cannot be close by mysql_close and can be reused.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules