I am creating a reg form and basically if the user fails to register correctly it sends them back to the error page with an error message, all the fields are blank, i always assumed the browser remembered what the user input, obviously not...
How is this normally done?
remembering registration form
Moderator: General Moderators
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
usually like this
Code: Select all
<input type="text" name="fieldname"<?php
if(isset($_POST['fieldname'])){
echo "value=\"{$_POST['fieldname']}\"";
}
?>
>Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK