Hello. Such a problem: I can not make navigation in php.
In general, the situation is this: There is a page where there are two GET variables $ _GET ['id'] and $ _GET ['page'] The first variable is responsible for the user id, it may not be (If not present, it specifies its page). The second variable is responsible for displaying messages from the database. Here is my question: How to add to $ _GET ['page'] + 10, but do not lose $ _GET ['id'], and if there is no $ _GET ['id'] variable, then only specify $ _GET ['page'] and add 10.
Example: http://site.com/index.php?id=5&page=20 or http://site.com/index.php?page=20 You need to generate a link in the link <a href="Selected Link"> TEST </a>
It seems to be all logical, but it does not work. Who knows how to implement? Thank you in advance.