CodeIgniter 4 - $ sign is not accepted in placeholder - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: CodeIgniter 4 - $ sign is not accepted in placeholder (/showthread.php?tid=80003) |
CodeIgniter 4 - $ sign is not accepted in placeholder - c4nn - 08-31-2021 Hi everyone, I have a problem. I have following in codeigniter 4 PHP Code: <?php PHP Code: $routes->group('admin', function($routes){ Code: http://localhost/admin/dashboard/edit/1 PHP Code: $routes->get('edit/(:any)', 'Backend/Datass::edit/$1'); RE: CodeIgniter 4 - $ sign is not accepted in placeholder - InsiteFX - 09-01-2021 Your missing the route group function closing bracket }. RE: CodeIgniter 4 - $ sign is not accepted in placeholder - iRedds - 09-01-2021 Use backslash in class namespace Backend/Datass:: <- bad Backend\Datass:: <- good |