Welcome Guest, Not a member yet? Register   Sign In
dynamic form_dropdown()
#10

[eluser]selftaught[/eluser]
I found it.

Just needed to update the controller. I was having issues with the way I was generating the views.

Updated controller function below:
Code:
function trx_form()
    {
        $data['main_content'] = 'trx_form';
        //$this->load->view('template',$data);
        
        $this->load->model('trx_model');
        
        $data['query'] = $this->trx_model->get_markets();
        $this->load->view('template',$data,'trx_form',$data);
        
        //var_dump($data);
        //exit;
    }
}


Messages In This Thread
dynamic form_dropdown() - by El Forum - 05-03-2012, 09:49 PM
dynamic form_dropdown() - by El Forum - 05-03-2012, 10:05 PM
dynamic form_dropdown() - by El Forum - 05-03-2012, 10:17 PM
dynamic form_dropdown() - by El Forum - 05-04-2012, 01:22 AM
dynamic form_dropdown() - by El Forum - 05-04-2012, 04:50 AM
dynamic form_dropdown() - by El Forum - 05-04-2012, 05:19 AM
dynamic form_dropdown() - by El Forum - 05-04-2012, 05:24 AM
dynamic form_dropdown() - by El Forum - 05-04-2012, 05:28 AM
dynamic form_dropdown() - by El Forum - 05-04-2012, 05:32 AM
dynamic form_dropdown() - by El Forum - 05-04-2012, 05:35 AM
dynamic form_dropdown() - by El Forum - 05-04-2012, 05:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB