Disconnecting from a MySQL Database : mysql_close « MySQL Database « PHP






Disconnecting from a MySQL Database

 
mysql_connect("localhost", "phpuser", "password");
    mysql_select_db("phpdb");

    mysql_close( );
  
  








Related examples in the same category

1.function mysql_close() closes the connection.