Question

I have an admin panel which uses the admin.php?page=X system to condense all the admin features in to one easy to use page. Although, I also have a Pagination system on the admins 3rd page which also uses the '?' in the link. This doesn't seem to work? The link for instance is:

admin.php?page=3?pn=2 

But, this doesn't show pagination '2' this just shows the original page 3 of the admin panel?

Is this because you cannot have more than 1 '?' in a link or is there a way to change this?

Was it helpful?

Solution

Multiple querystring parameters are separated by an ampersand &:

admin.php?page=3&pn=2
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top