How to use mysql close in PHP

In this article I am going to explain about mysql_close function in PHP.
  • 2099

PHP mysql_close() Function

The PHP mysql_close function closing one open connection to MySQL database.

Syntax of mysql_close function


Parameters in
mysql_close function

It has only one parameter:

Parameter Description
connection It specifies mysql connection.

Example of mysql_close function







die("Could not connect:". mysql_error());






You may also want to read these related articles :

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2020 DotNetHeaven. All rights reserved.