Sun Oct 26, 2008 7:05 pm
<?php
$host="";
$uname="";
$pass="";
$connection= mysql_connect ($host, $uname, $pass);
if (!$connection) {
die ("A connection to the server could not be established!");
}
$result=mysql_create_db ("mydatabase");
if (!$result) {
die ("database could not be created!");
}
echo "Database megabase was created successfully.";
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.