I am not sure what this error means:

Parse error: syntax error, unexpected T_LNUMBER in /cgihome/mharten/html/cgi-bin/calendar.php on line 28

this is my code around that line:

$result = mysql_query("Create table events (
eventID smallint(4) NOT NULL auto-increment,
date datetime NOT NULL default '0000-00-00 00:00:00', ///line 28
event varchar(200) NOT NULL, PRIMARY KEY (eventID)
) TYPE=MYISAM");

can anyone let me know what is wrong?

    It looks okay to me. What are the lines surrounding it?

      Write a Reply...