|
Mysql Open/Close Connection Scripts |
|
This script contains the easiest mysql connection ever.
-
<?php
-
//this should be saved as 'opendata.php'
-
-
$mysqlconnection = mysql_connect( "localhost" , "username" , "password" );
-
-
-
?>
-
========================================
-
<?php
-
//should be called closedata.php
-
-
-
-
?>
|