http://www.dillonwedding.com/rsvp.htm
I want it to clear when it is done. I would like a message that says thank you for rsvping. And I want to make sure you can us it with our outlook.
Thanks. any help would be great.
Adam
Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!
<FORM METHOD="POST" ACTION="send.php" ENCTYPE="text/plain"> <INPUT name="name" TYPE="text" id="name"> : Name <BR> <INPUT name="email" TYPE="text" id="email"> : Email<br /> <br /> Will You Be Attending <br /> <p> <label> <input name="attending" type="radio" id="attending" value="yes" /> Yes</label> <br /> <label> <input name="attending" type="radio" id="attending" value="no" /> No</label> <br /> <br /> <label>Adults <select name="adults" id="adults"> <option>Please Choose one</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </select> </label> </p> <p> <label>Children <select name="children" id="children"> <option>Please Choose One</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </select> </label> </p> Comments <br /> <TEXTAREA name="comments" ROWS="10" WRAP="hard" id="comments"> </TEXTAREA> <br /> <INPUT TYPE="submit" VALUE="Send"> <INPUT TYPE="reset" VALUE="Clear"> </FORM>
<?php @extract($_POST); $name = stripslashes($name); $email = stripslashes($email); $attending = stripslashes($attending); $adults = stripslashes($adults); $children = stripslashes($children); $comments = stripslashes($comments); $subject = "Wedding"; if (!$name) {echo "<table width='500'><tr> <td width='360'>You have not entered a name!</td></tr> <tr><td> </td></tr> <tr><td width='150'><center><FORM><INPUT TYPE='button' VALUE='Go Back' onClick='history.back()'></FORM></center></td></tr> <tr><td> </td></tr> </table>"; } else { if (!$email) {echo "<table width='500'><tr> <td width='360'>You have not entered a email address!</td></tr> <tr><td> </td></tr> <tr><td width='150'><center><FORM><INPUT TYPE='button' VALUE='Go Back' onClick='history.back()'></FORM></center></td></tr> <tr><td> </td></tr> </table>"; } else { if (!$attending) {echo "<table width='500'><tr> <td width='360'>Are you attending or not?</td></tr> <tr><td> </td></tr> <tr><td width='150'><center><FORM><INPUT TYPE='button' VALUE='Go Back' onClick='history.back()'></FORM></center></td></tr> <tr><td> </td></tr> </table>"; } else { if (!$adults) {echo "<table width='500'><tr> <td width='360'>You have not entered if any adults are coming!</td></tr> <tr><td> </td></tr> <tr><td width='150'><center><FORM><INPUT TYPE='button' VALUE='Go Back' onClick='history.back()'></FORM></center></td></tr> <tr><td> </td></tr> </table>"; } else { if (!$children) {echo "<table width='500'><tr> <td width='360'>You have not entered if any children are coming!</td></tr> <tr><td> </td></tr> <tr><td width='150'><center><FORM><INPUT TYPE='button' VALUE='Go Back' onClick='history.back()'></FORM></center></td></tr> <tr><td> </td></tr> </table>"; } else { if (!$comments) {echo "<table width='500'><tr> <td width='360'>You have not entered and comments!</td></tr> <tr><td> </td></tr> <tr><td width='150'><center><FORM><INPUT TYPE='button' VALUE='Go Back' onClick='history.back()'></FORM></center></td></tr> <tr><td> </td></tr> </table>"; } else { print "<table width='500'><tr> <td width='360'>Thank you $name for telling us if you are coming to the wedding!</td></tr> <tr><td> </td></tr> <tr><td> </td></tr> <tr><td> </td></tr> </table>"; mail("[email protected]",$subject,"<b>Attending:</b> $attending <br /><br /><b>Adults:</b> $adults <br /><br /><b>Children:</b> $children <br /><br /><b>Comments:</b> $comments","From: $name <$email>"); } } } } } } ?>
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board
Licensed to: Geeks to Go, Inc.