Hello All,
when I add/Delete data to my database (MySQL) using php, i discover that when i refresh the page my Add/delete script runs again and add (or attempt to delete) another copy of the record i added/deleted initially.
How can I prevent a block of php script from running twice after clicking refresh button. ( I dont want to have to check the database to see if the record already exist).
I understand that session can help me do this. Can somebody please tell me how ?
Emmanuel