<?php
$con = mysql_connect("bangla123.db.8390659.hostedresource.com","bangla123","Algnab123%");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
if (mysql_query("CREATE DATABASE tryDB",$con))
{
echo "Database created";
}
else
{
echo "Error creating database: " . mysql_error();
}
mysql_close($con);
?>
------------
When I run the code, i get error -"Error creating database:....
Pls advise.
Thx.