EllisLab text mark
Advanced Search
     
ComboBox like
Posted: 04 October 2012 02:33 PM   [ Ignore ]
Avatar
Joined: 2012-09-10
12 posts

Please coud someone help
to have combobox like this
in

Araay(’‘=>’‘);

Combobox(“2”,Mrcedes);

ID and text


how from Model to read and to write in View


thanks if some one help me whith this

 
Posted: 04 October 2012 04:05 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2012-04-02
85 posts

Trying to understand, maybe this can help:
http://ellislab.com/codeigniter/user-guide/helpers/form_helper.html
Look for the subtitle named form_dropdown() and do exactly what it says and let us know what happen.

The thing about the model, let me know if I understood, you want to read the values in a voew from a model?

Guess you need to read about MVC dude,
http://ellislab.com/codeigniter/user-guide/overview/mvc.html

You use a controller to comunicate a view with a model, it is something like monkey-in-the-middle smile but man, read the guide it is very useful

Cheers!