Build Your Own Database-Driven Website Using PHP MySQL [Electronic resources]

Kevin Yank

نسخه متنی -صفحه : 190/ 166
نمايش فراداده

mysql_pconnect

mysql_pconnect([hostname[:port|:/socket/path][, username[, password]]])

This function opens a persistent connection to a MySQL Server. Works the same as mysql_connect, except that the connection is not closed by mysql_close or at the end of the script. If a persistent connection is already found to exist with the specified parameters, then this is used, avoiding the creation of a new one.