I wonder if anyone can see why the following code is not working. this is taken from a larger functions, the rest of which seems to be working well:
print "<INPUT TYPE=\"Submit\" NAME=\"Submit\" Value=\"Update\"></td>"; print "<td></td><td></td></tr>"; print "</table>"; print "</form>"; if ($_POST['Update']) { print "updated!!"; $rank = $HTTP_POST_VARS['rank']; $title_new = $HTTP_POST_VARS['titles']; $query_update = "UPDATE choices_peter SET rank = $rank, workshop_id = $title_new WHERE choice_ID = $choice_id"; $update = mysql_query($query_update, $link) or die("display_db_query:" . mysql_error()); } I do not see the statement "updated!!!" printed, but I cannot see anything wrong with my syntax. Any help would be appreciated. Peter Gumbrell [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php