links
There is a difference between mysql_connect() and mysql_pconnect().
* mysql_connect()
This opens a connection to a MySQL Server. The link to the server will be closed as soon as the execution of the script ends, unless it's closed earlier by explicitly calling mysql_close().