What is the difference between mysql_connect() and mysql_pconnect() ?

mysql_pconnect() makes a persistent connection to the database which means a SQL link that do not close when the execution of your script ends.But when you make a connection with mysql_connect then sql link will be automatically close after the execution of your script.

No related posts.

Leave a Reply

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>