Why this code does not recognize the existing database?
$result = mysql_query("SHOW DATABASES LIKE $database", $conn);
echo $result." aaaaaaaaaaaaaaaaaaa<br>";
if ($result)
{
echo ("Datebase <font color='#FF0000'><b> $database </b></font> already exist.<br /><br />");
}
else
{
mysql_query("create database IF NOT EXISTS $database CHARACTER SET utf8 COLLATE utf8_general_ci");
echo ("Datebase <font color='#FF0000'><b> $database </b></font> is succesfully created.<br /><br />");
}