Muchas gracias.
Código HTML:
Fatal error: Call to undefined function mysql_create_db() in C:\xampp\htdocs\1\index.php on line 22
Código PHP:
<?php
$link = mysql_connect('localhost', 'root', '');
if (mysql_create_db('pepe'))
{
echo "Database created successfully\n";
}
else
{
echo mysql_errno() . "\n";
echo mysql_error();
}
?>