<?
$link = mysql_connect("localhost", "root", "123456");
if (!$link) {
echo "nada";
}
if (mysql_create_db("nueva")) {
echo "Database created successfully\n";
} else {
echo 'Error creating database: ' . mysql_error() . "\n";
}
?>