I am using the following code to create tables within a MySQL database:
// Connect to the database
mysql_connect("$mysql_host","$mysql_username","$mysql_passwd") or die (mysql_error());
mysql_select_db("$mysql_dbase") or die (mysql_error());
// Create the tables
mysql_query("CREATE TABLE...