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

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: I have issues will leave a link here (/showthread.php?tid=78579)



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.