Cytat
$insert = "INSERT INTO movie VALUES (1,'Bruce wszechmogacy',5,2003,1,2); INSERT INTO movie (movie_id,movie_name,movie_type,movie_year,movie_leadactor,movie_director) VALUES (2,'Zycie biurowe',5,1999,5,6)";
$result = mysql_query($insert) or die (mysql_error());
$result = mysql_query($insert) or die (mysql_error());
konczy sie bledem
Cytat
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 '; INSERT INTO movie (movie_id,movie_name,movie_type,movie_year,movie_leadactor,m' at line 1
probowalem z tej zmiennej do phpmyadmin query wrzucic i wszystko przechodzi ok, dane sie dodaja, ale przez skrypt moj, juz nie :/