I can't figure out what's wrong...The query will never perform $sql and doesn't update it...why?
Form
echo "<input type=hidden name=id value='$id'>";
$id = $_POST[id];
later in the code
$sql = 'UPDATE `tblapp` SET `Status` = `Rejection Email Sent` WHERE `AppID` ='.$id.'';
$query = mysql_query($sql);
echo "Status for Application ID $id has been change to - Rejection Email Sent - successfully.";
echo "<BR>";
The email is sent each time I test the script...the database details are all correct...but I can't figure out what's wrong. Can someone help me?