One page in my root directory, displays text collected from the database.
This page has a uniquely generated ID. A link on this page redirects the user to another page in the same root directory. On this second page I need to collect the specific ID (/URL) from the previous page, and use it as a variable.
How can I do this as smooth as possible?
Can I “send” the ID value from one page to the other?
In the page you’re linking from..
In yournewpage.php, cast your value to an integer to make sure the receiving page always gets an integer