to help troubleshoot, change the following line of code:
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
to:
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error()."<br />".var_dump($_POST)."");
this will write the sql top the screen causing the error to help us see whats going wrong.