RE: [PHP] Prevent storing data when reload
| From: | Peter Houchin | Date: | Tue, 03 Dec 2002 23:37:18 +0000 |
| Subject: | RE: [PHP] Prevent storing data when reload | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126912@lists.php.net to get a copy of this message | ||
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:lars_espelid@hotmail.com]
> Sent: Wednesday, 4 December 2002 10:17 AM
> To: php-general@lists.php.net
> Subject: [PHP] Prevent storing data when reload
>
>
> Hello,
>
> I have a php-page whith a form-schema which stores data to a
> mysql-database
> on submit. (The schema posts data to the same page (php-self).)
>
> 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?
>
> Thanks!
>
> Lars
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>