I currently have a PHP page called item.php that has a link on it "Add Item".
When a user clicks the link, it takes them to save.php, where the page does some stuff like saving the item to the database. On that page, there is a redirection after the saving code has run:
header("Location: item.php);
Now the item.php page says "Remove Item" for the link, as it should.
Here's the problem: if the user now hits the Back button on their browser, it shows them the item.php page again (which I don't want) and shows them the "Add Item" link again (which I also don't want).
How do I solve this issue so that there is only one item.php page in the browser history stack?