I keep getting this error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Name int(10) NOT NULL, Middle Name varchar(10) NOT NULL, Last Name varch' at line 2
And I am unsure what mistake I made ...
<?php
mysql_connect('klaic.db.11427125.hostedresource.com', 'klaic', '*******')
or die (mysql_error());
mysql_select_db('klaic')
or die (mysql_error());
mysql_query("create table account(
Fist Name int(10) NOT NULL,
Middle Name varchar(10) NOT NULL,
Last Name varchar(10) NOT NULL,
Email varchar(55) NOT NULL,
Comfirm Email varchar(55) NOT NULL,
D.O.B varchar(10) NOT NULL,
ID int(11) NULL,
PRIMARY KEY (ID)
)") or die (mysql_error());
echo "Complete.";
?>