/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<html> <head> <title>My Form</title> </head> <body> <?php echo $this->validation->error_string; ?> <?php echo form_open('form'); ?> <h5>Username</h5> <input type="text" name="username" value="" size="50" /> <h5>Password</h5> <input type="text" name="password" value="" size="50" /> <h5>Password Confirm</h5> <input type="text" name="passconf" value="" size="50" /> <h5>Email Address</h5> <input type="text" name="email" value="" size="50" /> <div><input type="submit" value="Submit" /></div> </form> </body> </html>