Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="contact.php" method="post" id="comments_form">
- <div class="row">
- <div class="label"> Your Name </div> <!-- end label -->
- <div class="input">
- <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; ?>
- </div> <!-- end .input -->
- <div class="context"> e.g. Juan Dela Cruz</div> <!-- end .context -->
- </div> <!-- end .row -->
- <div class="row">
- <div class="label"> Your Email </div> <!-- end label -->
- <div class="input">
- <input type="text" id="email" class="detail" name="email" value="
- <?php echo isset($_POST['email'])? $_POST['email'] : ''; ?>" />
- <?php if(in_array('email', $validation)): ?><span class="error"><?php echo $error_messages['email']; ?></span><?php endif; ?>
- </div> <!-- end .input -->
- <div class="context"> e.g. John Smith or Jane Doe </div> <!-- end .context -->
- </div> <!-- end .row -->
- <div class="row">
- <div class="label"> Your Message </div> <!-- end label -->
- <div class="input">
- <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