Answer the question
In order to leave comments, you need to log in
How to leave a request in the url get on the transition?
If we are on the page site.ru/page1.php?test=1
, then when we go to another page, this get request should be saved - site.ru/page2.php?test=1
Tell me where to dig?
Answer the question
In order to leave comments, you need to log in
I understand that the url "site.ru/page1.php site.ru/page2.php ..." is the result of pagination, "?test=1" in the url these are parameters, filters or the like.
to display pages, use some kind of cycle in which urls are generated, and concatenate additional. options
// где то в пагинации что то типа:
foreach($pagesArray as $page){
$page['url'] .= '?' . $getParms;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question