CodeIgniter Forums

Full Version: I have issues will leave a link here
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
fix your route, remove brackets around $1

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

https://codeigniter4.github.io/CodeIgnit...l#examples
Thank you for that, it really help.