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
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
> 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
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
4 matches
Mail list logo