to troubleshoot, change this line:
$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());
echo("<pre>".var_dump($_POST)."</pre><br>");
die("SQL: ".$WA_Sql);
this will write the contents of the post and the Insert SQL Statement to the screen, post this information back.