I'm working on a way for users to add content to a database.
I have a form that has an action to itself, and checks if $_POST is set.
If it isn't, it displays the form. If it is, it adds to the database and displays a "text submitted" message.
It works great except for a few things. If the user refreshes, it will pop up with a box saying something along the lines of, "do you want to POST again". This also happens if they go back a page, depending on the script.
So what's a way around this? I noticed VB and other software don't have this happen.