require("http://www.geocities.com/phantomsangel91/config.php");
$today = date("F j, Y");
mysql_query("CREATE TABLE $table_u (id int(2) NOT NULL auto_increment, date text NOT NULL, index id (id))") or die(mysql_error());
$query = "INSERT INTO $table_u VALUES ('','$today')";
mysql_query($query);
if ($enablefave == 'N'){
mysql_query("CREATE TABLE $table (id int(6) NOT NULL auto_increment, name text NOT NULL, email text NOT NULL, url text NOT NULL, country text NOT NULL, comments text NOT NULL, hideemail text NOT NULL, apr text NOT NULL, KEY id (id))") or die(mysql_error());
} else {
mysql_query("CREATE TABLE $table (id int(6) NOT NULL auto_increment, name text NOT NULL, email text NOT NULL, url text NOT NULL, country text NOT NULL, comments text NOT NULL, hideemail text NOT NULL, apr text NOT NULL, fave text NOT NULL, KEY id (id))") or die(mysql_error());
}
include("$header");
print ("
Congratulations!! The table was created sucessfully. Now delete this file from your server and login to your Admin Panel.