mysql_close()

It closes MySQL connection

Example

<?php
$conn    = mysql_connect(‘localhost’, ‘root’, ‘password’);
echo  mysql_client_encoding($conn);
mysql_close($conn);
?>

Share