It looks like you're new here. If you want to get involved, click one of these buttons!
form_fields()
{
$fields["custom_table"] = array(
'type' => 'custom',
'value' => $data,
'func' => array('My_model', 'add_table'),
'label' => ' ',
);
function add_table($info)
{
$CI = get_instance();
return $CI->module_view('my_module', 'my_view', $info);
}
}
Comments
$CI->load->module_view('my_module', 'my_view', $info, TRUE);