[Edit]
When you open a connection with mysql_connect(), the connection to the mysql database will be automatically closed when the script terminates. When you open a connection with mysql_pconnect(), the connection will not be closed and will "persist" for future use.
First answer by Pecunia. Last edit by Pecunia. Contributor trust: 43 [recommend contributor]. Question popularity: 16 [recommend question]





