checkbox - 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: checkbox (/showthread.php?tid=67399) |
checkbox - Viruzzz - 02-18-2017 Hello, I use the CodeIgniter 3.0.1 (is too old for upgrade and I have lots of problems after it) So, this is the edit page of the product, the array is working insert on my db like as: a:1:{i:0;s:2:"1 ";} but if I try to edit again the checkbox is not are selected. my Controllers: PHP Code: public function edit($id) { View page: PHP Code: <?php get_all function: PHP Code: public function get_all($fields = '', $where = array(), $table = '', $limit = '', $order_by = '', $group_by = '') { What I can do it? |