Easier way to make mysql tables
Call This sql_connect.php
<?php
$db_url = "host";
$db_name = "Database Name";
$db_username = "username";
$db_password = "password";
mysql_connect( $db_url, $db_username, $db_password );
mysql_select_db( $db_name );
?>
Call This Run.php. Edit The "Example" with your table Names and run this file to create your tables.
<?php
include ("sql_connect.php");
$create = "CREATE TABLE user (
id int(10) NOT NULL auto_increment,
example4 varchar(25) NOT NULL default '',
example3 varchar(250) NOT NULL default '',
example2 varchar(25) NOT NULL default '',
example1 varchar(250) NOT NULL default '',
PRIMARY KEY (id)
);";
mysql_query($create)
or die ("Could not create tables because ".mysql_error());
echo "Complete.";
?>