Using QUERY_STRING on CI4 |
My first question would be, why would you even want to do this for the controllers and all the routing?
If you only want to get a value from the query string you can use getVar() or getGet(): PHP Code: $something = $request->getVar('foo'); See: https://www.codeigniter.com/user_guide/i...ving-input
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
Using QUERY_STRING on CI4 - by lucky - 11-14-2020, 04:44 AM
RE: Using QUERY_STRING on CI4 - by includebeer - 11-14-2020, 05:31 AM
RE: Using QUERY_STRING on CI4 - by lucky - 11-14-2020, 07:22 AM
RE: Using QUERY_STRING on CI4 - by includebeer - 11-14-2020, 10:07 AM
RE: Using QUERY_STRING on CI4 - by lucky - 11-14-2020, 10:20 AM
RE: Using QUERY_STRING on CI4 - by captain-sensible - 11-14-2020, 06:18 AM
RE: Using QUERY_STRING on CI4 - by InsiteFX - 11-20-2020, 05:48 AM
|