How to redirect to the previous page using header("Location:...") ? The problem occurs when the user scrolls on the page to find a link, for example, then clicks it - opens another page, clicks the link that I gave "Return to links ( header("Location:links.php"); ), but when the user clicks on it, it will be directed to the previous page, but to the top of the page.
The user should scroll down the page where he found the link that he just clicked (which is frustrating). Is there a php code like the 'back'-button used in web browsers where you return to the exact location and page right before you click anything else?
source share