Scusate qulacuno mi saprebbe aiutare?
mi compare un messaggio d'errore che dice:switch($_GET['type']){
case "movie":
$sql = "INSERT INTO movie
(movie_name,
movie_year,
movie_type,
movie_leadactor,
movie_director)
VALUES
('" . $_POST['movie_name'] . "',
'" . $_POST['movie_year'] . "',
'" . $_POST['movie_type'] . "',
'" . $_POST['movie_leadactor'] . "',
'" . $_POST['movie_director'] . "',)";
break;
} // switch
la versione di mysql che ho io è la 5.0, e sul manuale non riesco a trovare la documentazione.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 ')' at line 12
thanks more...