Difference between mysql_connect and mysql_pconnect in PHP

mysql_connect and mysql_pconnect both is php function which works with the database connection but with little difference.In the mysql_pconnect “P” stands for persistance connection for the database.Persistent connections are links that do not close when the execution of your script ends. When we are using  mysql_connect function then always it’s opening and ending the database connection, depending on the