trying to create a new database with 4 table in php $ mysql
cant seem to get the script working can any one help plz
this is what i have done so far
<html>
<head>
<title>
mysql databser
</title>
</head>
<body>
<? php
$new_db = "testDB2";
$connection= @mysql_connect ("localhost", "craig", "1978")
die (mysql_error());
$result = @mysql_create_db ($new_db, $connection)
die (mysql_error());
if ($result) {
$msg = "<P>Database has been created!</p>";
print " $result";
}
?>
<p> <? echo "$msg"; ?></p>
</body>
</html>
Edit/Delete Message