php, insert duplication on refresh?

Oinks in Pink

New member
I have a single page which has forms an a submit button(to itself) that adds a record and then prints the record was added. It works fine but after I press refresh the added record was added again.

So far Ive searched that I can use another page to do the query and redirect to my original page.

But by using this, how can i tell the user that his record was added.? Can a redirect page pass variables to my original page?
 
Back
Top