Re: [PHP-DB] retaining form information when someone presses back

2007-01-01 Thread J R
try using: header ("Cache-control: private"); i'm not sure that will work, try playing with header cache-control. anyway as Bastien metioned it is better to have your form redisplayed with values the user entered when validation failed rather than asking the user to cli

[PHP-DB] retain form information -.-

2007-01-01 Thread Christopher Blöcker
sorry i fogot something... in the fill-in-form.php you would now have to modify the form to something like echo " [...] ...> to retain the information "; i think thats it -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] retaining form information when someone presses back

2007-01-01 Thread Christopher Blöcker
Flint Million: This might not be relavent for this forum, so if not please direct me to the proper one; although I do like to keep my email list subscriptions down. I have a custom application in PHP in which a user fills out a form of information. When the user submits, I perform sanity checkin

RE: [PHP-DB] retaining form information when someone presses back

2007-01-01 Thread Bastien Koert
i tend to have a function that show the form and a processing function. In the processing function i preform my sanity checks and then if there are errors pass the $_POST data back to the show_form($data, $errors) with the relevant errors. This removes the need to have the users press the back

[PHP-DB] retaining form information when someone presses back

2007-01-01 Thread Flint Million
This might not be relavent for this forum, so if not please direct me to the proper one; although I do like to keep my email list subscriptions down. I have a custom application in PHP in which a user fills out a form of information. When the user submits, I perform sanity checking on the user's