This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
How can I get parameters from url? I know that with $this->param() I can get parameters like "10" and "3" from domain.com/blog/10/3 for example. But how to get params from original url like domain.com?cat=10&post=3. $_GET is not working.
Last updated
You can also use the Laravel docs as well as the October docs as October is built on Laravel
I'm trying to do something similar with a url query string but it does not seem to work
http://www.mydomain.com/page-name?status=2
I want to get the value of 'status' so I've tried:
Request::get('status');
Input::get('status');
How can I achieve this?
I'm still learning .... I lose 3 days trying the solution, javascript PHP twig ... and finally I saw this post with the answer ... Thanks :) alxy
1-9 of 9