Can I use two GET requests in one url.
http://localhost/ecommstore/category_grid.php?pn=1.
Here pn=1
is for pagination. I want here another GET request for sub_category
.
Can you please help me that how to do that and separate these two get requests correctly?
Yes by using &
between two parameters. You can write your url like this
http://localhost/ecommstore/category_grid.php?pn=1&sub_category=sub_categoryName
Here before your first parameter you should write ?
and after first parameter you should separate them by &
. It works for me. Hope it helps you