Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Parameters #80

Open
mexantos opened this issue Feb 13, 2021 · 1 comment
Open

Query Parameters #80

mexantos opened this issue Feb 13, 2021 · 1 comment

Comments

@mexantos
Copy link

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

@daveh
Copy link
Owner

daveh commented Feb 13, 2021

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'];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants