[Solved] Multidimensional input error. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: [Solved] Multidimensional input error. (/showthread.php?tid=68708) |
[Solved] Multidimensional input error. - wolfgang1983 - 08-15-2017 On my controller I get a error even though is set on controller functin though as you can see in image below for some reason the banner_title not set in the second array I use multidimensional input Code: <?php echo $header;?> On the controller function PHP Code: $banner_image_post = $this->input->post('banner_image'); RE: Multidimensional input error. - wolfgang1983 - 08-16-2017 Solved After doing some investigation I found problem was to do with Code: name="banner_image[<?php echo $image_row; ?>][title]" On script I forgot to add it like Code: name="banner_image[' + image_row + '][title]" Working now |