Posted by RageARC on 09/14/07 19:05
If you put them in the same page, it will be better for you. It will
ease the process.
[PHP]
if (isset($_POST['submit'])) {
# Process the form
if ($number_of_errors_in_the_form != 0) {
# Show the errors
# Display the Form Again.
# Example: print "<input type='text' name='fieldname' value='".
$_POST['fieldname']."' />";
} else {
# Tell the user everything went fine.
}
} else {
# Display the form.
}
Navigation:
[Reply to this message]
|