Is there a way to clear URL variables out?
I have a page that lists some items, with the option to delete. The delete code is on the same page, so if the conditions evaluate, the delete code runs, followed by the view code. The issue is that, if anything else occurs on the page, it doesn't work correctly b/c the url variable signaling a delete is still there.
I'm now using
$updateGoTo = $PHP_SELF;
header(sprintf("Location: %s", $updateGoTo));
to clear out the URL variables, but it just seems cheap. Can I do this without effectively reloading the page?
Thanks!
Sarah