ive noticed that when ever i refresh my php page, it still has the variables that i passed to it before and deletes another record i dont want it to delete.
I have a link on the page that when you click it, it deletes the last record. the string i pass is page.php?&delete=yes and it deletes the last record. everythime i click the link on the page it deletes the last record ok, it also deletes the last record on page refresh after clicking the delete link.
Is there a way to destroy that 'delete' variable once you click the link so that when you refresh the page it doesnt continue deleting?
I have a link on the page that when you click it, it deletes the last record. the string i pass is page.php?&delete=yes and it deletes the last record. everythime i click the link on the page it deletes the last record ok, it also deletes the last record on page refresh after clicking the delete link.
Is there a way to destroy that 'delete' variable once you click the link so that when you refresh the page it doesnt continue deleting?