This example is to check the databases using
function...................
It could have been done with one line code when you just create a
database that does not exists.
$sql = mysql_query("CREATE DATABASE IF NOT EXISTS wineprogect") or
die(mysql_error);