Faced a problem, on the search page there were several GET-forms with page-by-page navigation, sorting and search query parameters.
The problem is that when you submit any of these forms, the previous GET value is erased. For example, the user chose “Camomile” (? Flower = romashka) in the search, and then moved to another page and the search query disappeared, only (? Page = 2) remained.
Actually, is there a way to handle GET parameters? Overwriting existing ones (for example, sortby = Up to sortby = down) and adding new ones to the request when received.
$_POST? Much more convenient, and less work - Rosnowsky<form>once. But I would not recommend doing so. - Pavel Mayorov