Well, I tried to create tables using a php form but I run into problems... Here's the code:
$file = "tables.txt"; // the sql file that will populate all the tables, and fill them with data.
$fp = fopen($file, "r");
$read = fread($fp, filesize($file));
$tbl_result = mysql_query($read) or die(mysql_error());
mysql error: You have an error in your SQL syntax near '; INSERT INTO categories VALUES (1, 'Main News', NULL); CREATE TABLE comme' at line 6
Here's the file that has all the tables: