1.

differenc between mysql_connect and mysql_pconnect

Answer»

mysql_connect OPENS up a database connection EVERY time a page is loaded. mysql_pconnect opens up a connection, and KEEPS it open ACROSS multiple requests.

mysql_pconnect uses less resources, because it does not need to establish a database connection every time a page is loaded.



Discussion

No Comment Found