I get this error
Parse error: syntax error, unexpected T_LNUMBER in /home/public_html/Registration/creattable.php on line 28
which is `Race_Date` date NOT NULL default '0000-00-00',
PHP Code:
<?php
$username="MYUSER";
$password="MYPASS";
$database="MYDB";
$conn = mysql_connect(localhost,$username,$password);
$query = 'CREATE TABLE `wichita_frgn`.`Registrations` ( `id` int( 10 ) unsigned NOT NULL auto_increment ,
`First_Name` text NOT NULL ,
`Last_Name` text NOT NULL ,
`Address` text NOT NULL ,
`City` text NOT NULL ,
`State` text NOT NULL ,
`Zip_Code` text NOT NULL ,
`Home_Phone` text NOT NULL ,
`Cell_Phone` text NOT NULL ,
`E_Mail` text NOT NULL ,
`Membership_No` text NOT NULL ,
`Roar_No` text NOT NULL ,
`First_Class` text NOT NULL ,
`Transmitter_Frequency` text NOT NULL ,
`Transponder_No` text NOT NULL ,
`Track_Transponder` text NOT NULL ,
`Second_Class` text NOT NULL ,
`Transmitter_Frequency2` text NOT NULL ,
`Transponder_No2` text NOT NULL ,
`Track_Transponder2` text NOT NULL ,
`Ability_Skill_Level` text NOT NULL ,
`Race_Date` date NOT NULL default '0000-00-00',
`Track` text NOT NULL ,
`IP_Address` text NOT NULL ,
`Date_Posted` text NOT NULL ,
PRIMARY KEY ( `id` ) ,
UNIQUE KEY `id_2` ( `id` ) ,
KEY `id` ( `id` ) ) ENGINE = MyISAM DEFAULT CHARSET = latin1 COMMENT = 'Created by big dog'
';
mysql_query($query);
?>
[MOD EDIT: DO NOT POST SENSITIVE DATA!! Removed. We don't need the exact password, etc. to help you and it is a HUGE security risk...]
Bookmarks