Advertisement
Guest User

form.php

a guest
Sep 23rd, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.70 KB | None | 0 0
  1. <?php include("contactform.php"); ?>
  2. <?php if (count($errors)): ?>
  3. There were errors with your submission:
  4. <ul>
  5. <?php foreach($errors as $key => $error): ?>
  6. <li><?php echo $error;?></li>
  7. <?php endforeach; ?>
  8. </ul>
  9. <?php endif; ?>
  10.  
  11. <a name="contact_form" />
  12. <form id="form1" action="<?php echo $_SERVER['PHP_SELF']; ?>#contact_form" method="POST">
  13. <fieldset>
  14.             <p class="form">Name*
  15.                 <input type="text" name="name" id="name" size="30"/>
  16.             </p>
  17.             <p class="form">Email*
  18.                 <input type="text" name="email" id="email" size="30" />
  19.             </p>
  20. </fieldset>
  21. <p class="submit"><button name="submit" type="submit">Send</button></p>
  22. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement