that query gives me an sql error.
this is how my sql phpwcms user table looks like:
Code: Select all
CREATE TABLE phpwcms_user (
usr_id int(11) NOT NULL auto_increment,
usr_login varchar(30) NOT NULL default '',
usr_pass varchar(50) NOT NULL default '',
usr_email varchar(150) NOT NULL default '',
usr_tstamp timestamp(14) NOT NULL,
usr_rechte tinyint(4) NOT NULL default '0',
usr_admin tinyint(1) NOT NULL default '0',
usr_avatar varchar(50) NOT NULL default '',
usr_aktiv int(1) NOT NULL default '0',
usr_name varchar(100) NOT NULL default '',
usr_var_structure blob NOT NULL,
usr_var_publicfile blob NOT NULL,
usr_var_privatefile blob NOT NULL,
usr_lang varchar(50) NOT NULL default '',
PRIMARY KEY (usr_id)
) TYPE=MyISAM;
#
# Daten für Tabelle `phpwcms_user`
#
INSERT INTO phpwcms_user (usr_id, usr_login, usr_pass, usr_email, usr_tstamp, usr_rechte, usr_admin, usr_avatar, usr_aktiv, usr_name, usr_var_structure, usr_var_publicfile, usr_var_privatefile, usr_lang) VALUES (1, 'webmaster', '43e9a4ab75570f5b', '', 20031109221509, 0, 1, '', 1, 'phpwcms webmaster', '', '', '', '');