How to keep script from updating database when reloading

I have a simple script that keeps updating my database when I reload the page.

How do I prevent that?

Thank you.

don’t reload it :)

to keep the enduser from doing that u can make the database updates in one php-file and then redirect with header(‘location: somwhere.php?action=show’) to a second page where the output is made.

hope this helps

Threatening to slap the hand of anyone who dares try to reload the page hasn’t worked.

I am not clear on your suggestion just yet. But, I thank you never-the-less.

Oh wait… I’m begining to understand…

The Sun Is Made Of Iron

Sponsor our Newsletter | Privacy Policy | Terms of Service