When using the following code, the table does not update. I know it is getting thru the if statement because the echo's are displayed, and the altered strings are appearing.. just not in the database.
if ($action == updatemovie) {
$db = mysql_connect("$site", "$user", "$pass");
mysql_select_db("$user",$db);
$update_movie_details = "UPDATE moviedetails SET title='$title', subtitle=$subtitle, alttitle=$alttitle, titlequote$titlequote, stars=$stars, director=$director, writer=$writer, producer=$producer, horrorgenre=$horrorgenre, bodycount=$bodycount, rating=$rating, year=$year, runningtime=$runningtime, plotorblurb=$plotorblurb, trivia=$trivia, links=$links WHERE movieid='$movieid'";
mysql_query($update_movie_details);
// test line
echo "$title $subtitle $alttitle $year $movieid<p>";
echo "Thank you! The Movie Information has been entered into the database.";
echo "<p>Click <a href=\"moviedetails.php?movieid=$movieid\" target=\"_blank\">HERE</a> to view the submission online.";
}
Thanks in advance!
Clint