Posts by Paulo César Moraes • 31 points
1 post
-
3
votes1
answer757
viewsA: How to run Model function in View with codeigniter?
To call the model in a view, you can try to instantiate the Codeigniter core in it, using $CI =& get_instance() and then load the model using $CI->load->model('suaModel'). From then on you…