Hello to all that responded.

Thanks very much for your help.

I implemented and thoroughly tested the following:

            header("Location: ".$_SERVER['PHP_SELF']);
            exit;

And is works great for this particular need..

Regards,

Robert

"Robert Meyer" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hello,
>
> Scenario:
> 1) User is presented a blank form.
> 2) User fills in form.
> 3) User submits form.
> 4) Record is added to database.
> 5) Back to 1).
> All is fine to here.
> 6) User clicks refresh.
> 7) Another record is added, same data except auto-increment field.
> How do I prevent these last two steps, or at least prevent a record
> from being added when refresh is clicked?
>
> Regards,
>
> Robert 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to