I'm trying to insert in to a table video_advert but it's failing,
$result=mysqli_query($db_handle,"INSERT INTO video_advert(title,video,date_out,gender,quantity,room,description) VALUES('".$_POST['adtitle']."','".$imagename."','".$_POST['addate']."','".$_POST['adgender']."','".$_POST['adquantity']."','".$_POST['adroom']."','".$_POST['addescription']."',)");
if($result){
$message1="you are now SignUp";
header("Location:index.php?msid=$message1");
}
else{
echo "not done!";
}
all my field names are correct, but it's returning not done, please help