<?php $sql="create table forum ( nick varchar(16) unsigned not null auto_increment, haslo char(40) not null, email varchar(100) not null, id_artykulu int unsigned not null auto_increment primary key, temat char(20) not null, wiadomosc text, umieszczony datetime not null)"; ?>
A taki wyskakuje błąd na stronie:
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 'unsigned not null auto_increment, haslo char(40) not null, email varchar(100) ' at line 3