PHP expert |
|
heb deze tabel, alleen wat is er fout aan :ooh:
kom er niet echt uit
mysql_query("CREATE TABLE pm (
id int(50) NOT NULL auto_increment,
from varchar(250) NOT NULL default '0',
to varchar(250) NOT NULL default '0',
readed varchar(250) NOT NULL default 'nee',
date varchar(250) NOT NULL default '0',
reply int(1) NOT NULL default '0',
subject varchar(250) NOT NULL default '',
message text NOT NULL,
UNIQUE KEY id (id)
) TYPE=MyISAM;") OR die (mysql_error());
id int(50) NOT NULL auto_increment, from varchar(250) NOT NULL default '0', to varchar(250) NOT NULL default '0', readed varchar(250) NOT NULL default 'nee', date varchar(250) NOT NULL default '0', reply int(1) NOT NULL default '0', subject varchar(250) NOT NULL default '', message text NOT NULL, UNIQUE KEY id (id)
dit zeurt hij:
Citaat: 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 'from varchar(250) NOT NULL default '0', to varchar(250) NOT
|