This is my HTML:
<select name="results">
<option value="0">Vis alle</option>
<option value="10">10 resultater per side</option>
<option value="20">20 resultater per side</option>
<option value="30">30 resultater per side</option>
<option value="40">40 resultater per side</option>
<option value="50">50 resultater per side</option>
<option value="75">75 resultater per side</option>
<option value="100">100 resultater per side</option>
</select>
When the topmost option is selected and form submitted, the get variable “results” disappears from the URL. I’ve tried switching out the 0 with strings “*” and “x” to no avail.
A value of zero will get interpreted as “nothing” and therefore disappear from your $_GET. But that should be no problem in your case. You could also just test of the “results” is in the array to check if someone wants to see all. Or you change the zero to the string “all” and test for that.