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

Kevin Yank

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

mysql_close

mysql_close([link_id])

This function closes the current or specified (link_id) MySQL connection. If the link is a persistent link opened by mysql_pconnect (see below), this function call is ignored. As non-persistent connections are closed automatically by PHP at the end of a script, this function is usually not needed.

This function returns true on success, false on failure.