Advertisement
Guest User

code

a guest
Dec 20th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <form action="contact.php" method="post" id="comments_form">
  2. <div class="row">
  3. <div class="label"> Your Name </div> <!-- end label -->
  4. <div class="input">
  5.  
  6. <input type="text" id="fullname" class="detail" name="fullname" value="<?php echo isset($_POST['fullname'])? $_POST['fullname'] : ''; ?>" /> <?php if(in_array('fullname', $validation)): ?><span class="error"><?php echo $error_messages['fullname']; ?></span><?php endif; ?>
  7.  
  8.  
  9. </div> <!-- end .input -->
  10.  
  11. <div class="context"> e.g. Juan Dela Cruz</div> <!-- end .context -->
  12.  
  13.  
  14.  
  15. </div> <!-- end .row -->
  16.  
  17. <div class="row">
  18. <div class="label"> Your Email </div> <!-- end label -->
  19. <div class="input">
  20.  
  21. <input type="text" id="email" class="detail" name="email" value="
  22. <?php echo isset($_POST['email'])? $_POST['email'] : ''; ?>" />
  23. <?php if(in_array('email', $validation)): ?><span class="error"><?php echo $error_messages['email']; ?></span><?php endif; ?>
  24.  
  25. </div> <!-- end .input -->
  26.  
  27. <div class="context"> e.g. John Smith or Jane Doe </div> <!-- end .context -->
  28.  
  29.  
  30. </div> <!-- end .row -->
  31.  
  32.  
  33. <div class="row">
  34. <div class="label"> Your Message </div> <!-- end label -->
  35. <div class="input">
  36.  
  37. <textarea id="comment" name="comment" class="mess"> <?php echo isset($_POST['comment'])? $_POST['comment'] : ''; ?> </textarea> <?php if(in_array('comment', $validation)): ?><span class="error"><?php echo $error_messages['comment']; ?></span><?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement