Jump to content

[SOLVED] Clear variables


zamp0e

Recommended Posts

Hello!

 

I'd like a tip for how to solve this problem: After my INSERT string have been executed, if I refresh the page the INSERT goes of again.

 

The INSERT is exectuted after I submit a form, showing a new page and inserting new data in the database, and it is when I refresh this page that I get a new input in my db.

 

So how should I fix this ? Maybe clear the variables after the INSERT or something, I don't know how to do that and I don't know if it would solve the problem.

 

Any help would be highly appreciated! :)

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/160630-solved-clear-variables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.