Why does routing fail? |
Hi.
## overview I'm trying to make `$ routes-> get` and` $ routes-> post` on the update screen, but the routing that receives the id doesn't work. Especially the second post method output "` Undefined array key 0` https://drive.google.com/file/d/1QnEnUe9...p=drivesdk What may be the cause? Commenting out `$ routes-> post` will display the get method successfully. ## reference https://ci-trans-jp.gitlab.io/user_guide...uting.html PHP Code: $routes->get('school/certification/edit/(:num)', 'SchoolCertificationController::editGet/$1', ['as' => 'certification_edit_get']); |
Messages In This Thread |
Why does routing fail? - by yoshi - 03-26-2022, 03:15 AM
RE: Why does routing fail? - by kenjis - 03-26-2022, 03:28 AM
RE: Why does routing fail? - by yoshi - 03-26-2022, 07:37 AM
|