File: examples/formcontroller/templates/example_form4.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/formcontroller/templates/example_form4.php  >  Download  
File: examples/formcontroller/templates/example_form4.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 5 years ago
Size: 1,524 bytes


Class file image Download

.error {
    color: red;
<form action="" method="post">
<input type="hidden" name="action" value="Form4">

      <td><input size="10" name="name" value="<?php if(isset($values['name'])) { echo $values['name']; } ?>" type="text"/></td>
      <td><span class="error"><?php if(isset($errmsg['name'])) { echo implode(', ', $errmsg['name']); } ?></span></td>
      <td><input type="text" name="email" value="<?php if(isset($values['email'])) { echo $values['email']; } ?>"></td>
      <td><span class="error"><?php if(isset($errmsg['email'])) { echo implode(', ', $errmsg['email']); } ?></span></td>
      <td><input type="text" name="password" value="<?php if(isset($values['password'])) { echo $values['password']; } ?>"></td>
      <td><span class="error"><?php if(isset($errmsg['password'])) { echo implode(', ', $errmsg['password']); } ?></span></td>
      <td>Password again</td>
      <td><input type="text" name="password2" value="<?php if(isset($values['password2'])) { echo $values['password2']; } ?>"></td>
      <td><span class="error"><?php if(isset($errmsg['password2'])) { echo implode(', ', $errmsg['password2']); } ?></span></td>
      <td><input type="submit" name="submit" value="submit"></td>


For more information send a message to info at phpclasses dot org.