tut mir echt leid, dass ich immer mit syntaxproblemen komme, aber so bin ich nunmal
folgender fehler:
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 'alter varchar(11) NOT NULL default '', referer int(9) NOT NULL
bei
cih bin's x-mal durchgegangen, finde aber einfach nichts.
folgender fehler:
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 'alter varchar(11) NOT NULL default '', referer int(9) NOT NULL
bei
PHP-Code:
$m_query[] = "CREATE TABLE $table01 (id INT NOT NULL AUTO_INCREMENT,
primary key (id),
vorname varchar(100) NOT NULL default '',
nachname varchar(100) NOT NULL default '',
strasse varchar(200) NOT NULL default '',
plz int(5) NOT NULL default '',
ort varchar(200) NOT NULL default '',
land int(1) NOT NULL default '',
email varchar(200) NOT NULL default '',
username varchar(30) NOT NULL default '',
passwort varchar(50) NOT NULL default '',
kontoinhaber varchar(200) NOT NULL default '',
kontonummer int(20) NOT NULL default '',
bankleitzahl int(20) NOT NULL default '',
kreditinstitut varchar(200) NOT NULL default '',
alter varchar(11) NOT NULL default '',
referer int(9) NOT NULL default '',
activationcode varchar(15) NOT NULL default '',
kat1 int(1) NOT NULL default '',
kat2 int(1) NOT NULL default '',
kat3 int(1) NOT NULL default '',
kat4 int(1) NOT NULL default '',
kat5 int(1) NOT NULL default '',
kat6 int(1) NOT NULL default '',
kat7 int(1) NOT NULL default '',
kat8 int(1) NOT NULL default '',
kat9 int(1) NOT NULL default '',
kat10 int(1) NOT NULL default '',
kat11 int(1) NOT NULL default '',
kat12 int(1) NOT NULL default '',
kat113 int(1) NOT NULL default '',
activated int(1) NOT NULL default '0',
time int(14) NOT NULL default '',
ip varchar(15) NOT NULL default '',
client text NOT NULL default '') ";
Kommentar