//==== // 10.23.2006 IAQ Guide Feedback Submission //==== if (isset($HTTP_POST_VARS["Review"])){// the user wants to review the form include("edit.php"); }// if ((isset($HTTP_POST_VARS["Review"])) elseif (isset($HTTP_POST_VARS["Edit"])){ include("form.php"); } //if (isset($HTTP_POST_VARS["Edit"])){ elseif (isset($HTTP_POST_VARS["Submit"])){ // the user is ready to submit the form if (isset($HTTP_POST_VARS["url"]) && ($HTTP_POST_VARS["url"] =="myurl")){ //send the email include("send_email.php"); include("thanks.php"); } // if } // elseif (isset($HTTP_POST_VARS["Submit"])){ else{ include("form.php"); } ?>