php-mvc icon indicating copy to clipboard operation
php-mvc copied to clipboard

Query Parameters

Open mexantos opened this issue 4 years ago • 1 comments

I was wonder how we can still use query parameter in the url since this mvc set this up in .htacces file. i think query parameter still common in mvc for purposes like order and filtering data ie http://example.com/games/?sortby=asc&page=3&genre=rpg

mexantos avatar Feb 13 '21 09:02 mexantos

Query parameters are not affected, you can still access them in the $_GET array as always, for example using the URL example above it would be $sortby = $_GET['sortby'];

daveh avatar Feb 13 '21 19:02 daveh