Re: [PHP] Prevent storing data when reload

2002-12-03 Thread Jason Wong
On Wednesday 04 December 2002 07:39, Justin French wrote: > > When I reload the page the data gets stored once more. I'm sure this is a > > well known problem. Are there any smart tricks to prevent this from > > happening? > > Yes, and they get discussed on this list almost daily... a quick search

Re: [PHP] Prevent storing data when reload

2002-12-03 Thread Hugh Danaher
put if (!isset($blocker)) { your form goes here within your form add print " end your form } With this, your input form is on the page when the page first loads (and $blocker is not set), but disapears when the data is submitted and the page reloads. Even if the us

Re: [PHP] Prevent storing data when reload

2002-12-03 Thread Justin French
> When I reload the page the data gets stored once more. I'm sure this is a > well known problem. Are there any smart tricks to prevent this from > happening? Yes, and they get discussed on this list almost daily... a quick search would have helped. 1. the "script" that does all the validating an

RE: [PHP] Prevent storing data when reload

2002-12-03 Thread Peter Houchin
yep have the submit got to another page and then have a header location in there to go back to the original page that the form is on > -Original Message- > From: Lars Espelid [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 4 December 2002 10:17 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Pr