Check data in template - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Check data in template (/showthread.php?tid=49584) |
Check data in template - El Forum - 02-26-2012 [eluser]Unknown[/eluser] Hi, all ! i have Code: $data['table'] = $table[$this->input->post('table')]; Code: $data = array('table' => $data['table'], 'fields' => $data['alias']); Code: $this->template->parse_view('table','site/default/block/table_fields', $data); Then, code in 'table_fields.php' Code: {fields} How to check variable $key is what ? |