Posts: 4
Location: Kent, United Kingdom
|
Hi all,
I appear to be having probs with this piece of coding below: - CREATE TABLE sessions (
- id varchar(32) NOT NULL default '',
- userid int(11) NOT NULL default '0',
- username varchar(25) NOT NULL default '',
- mod int(1) NOT NULL default '0',
- sessiondate datetime NOT NULL default '0000-00-00 00:00:00'
- ) TYPE=MyISAM;
When I try to load it into the database it returns this error message.
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
'mod int(1) NOT NULL default '0'
session datetime NOT NULL default 0000-00-00 00:00:00
at line 5
Any help would be appreciated, thanks in advance
Geoff 
__________________
Within the Deepest recesses of every Human Soul lies the Shadow of Evil Verner Von Croy - (Tomb Raider : Angel of Darkness)
|