[ Tesla90 @ 15.04.2008. 15:30 ] @
Mucim se vec pola sata da skontam sta gresim,ali sam odustao i odlucio da pitam. Kada zelim da napravim table uradim ovo: Code: drop table if exists authors; create table authors ( author_id integer not null auto_increment primary key, author varchar(50) null, email varchar(255) null, bio text null, user_id int null, key (user_id), foreign key (user_id) references users (user_id) on delete cascade ) type=InnoDB; Ako neko zna sta je greska i ako moze neka mi kaze? |