CodeIgniter Forums
I have issues will leave a link here - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forum-6.html)
+--- Forum: Issues (https://forum.codeigniter.com/forum-19.html)
+--- Thread: I have issues will leave a link here (/thread-78579.html)



I have issues will leave a link here - lutherjohn21 - 02-09-2021

Got this issue.

https://stackoverflow.com/questions/66115322/null-values-instead-of-an-value-in-codeigniter


RE: I have issues will leave a link here - davis.lasis - 02-10-2021

fix your route, remove brackets around $1

PHP Code:
$routes->get('agents/getClientsToAgent/(:num)''Agents::getClientsToAgent/$1'); 

https://codeigniter4.github.io/CodeIgniter4/incoming/routing.html#examples


RE: I have issues will leave a link here - lutherjohn21 - 02-10-2021

Thank you for that, it really help.