Code Snippets Php

$result = mysql_create_db("mydb");
if ($result == false)
echo ("failure to create database");
?>