Thank for replying, is it neccessary for drop down menu to have selected="selected" ?
How about if INSERT statement mix with $_POST and $variable?
I having error on my INSERT statement.
PHP Code:
$category = $_POST['category'];
$time = $_POST['time'];
$insert = mysql_query("INSERT INTO movie(name,director,casting,synopsis,screeningTime,classification) VALUES ('" . $_POST['title'] . "','" . $_POST['director'] . "',
'" .$_POST['casting'] . "','" . $_POST['synopsis'] ."' ,'" . $time . "',
'" . $category ."')") or die(mysql_error());
Bookmarks