Hi,
Aus Deinem ersten Post:
#1064 - 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 '(1000) NOT NULL,
DatumVARCHAR(70) NOT NULL,DatumsortINT(
Aus Deinem letzten Post:
CREATE TABLE
eintrag(
IDint(11) NOT NULL auto_increment,
Namevarchar(50) NOT NULL default '',
httpvarchar(100) NOT NULL default '',
Nachrichttext NOT NULL,
Datumvarchar(70) NOT NULL default '',
Datumsortint(11) NOT NULL default '0',
PRIMARY KEY (ID)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=26 ;
Beide Teile passen nicht zusammen, denn laut Fehlermeldung müßte es hier:
Nachrichttext NOT NULL,
Datumvarchar(70) NOT NULL default '',
Datumsortint(11) NOT NULL default '0',
anders aussehen - vermutlich
Nachricht text(1000) NOT NULL,
Datum varchar(70) NOT NULL default '',
Datumsort int(11) NOT NULL default '0',
was natürlich zu einer Fehlermeldung führen muß, da text in MySQL keine Längenangabe haben darf.
cu,
Andreas
Warum nennt sich Andreas hier MudGuard?
Schreinerei Waechter
Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.