Afficher un message
Vieux 14/09/2007, 20h05   #5
RageARC
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: no empty form fields after submitting form

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.

}


  Réponse avec citation
 
Page generated in 0,06012 seconds with 9 queries