Recording drop down box on model |
In your model if form false I would run data again and only use two equal == and don't for get to set_rules http://www.codeigniter.com/user_guide/li...pping-data
PHP Code: function something() { Another controller way is this PHP Code: function something() { Model PHP Code: public function add_user() { On view Code: form_dropdown('roles', $options, 'administrator')
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Recording drop down box on model - by davy_yg - 08-30-2016, 03:14 AM
RE: Recording drop down box on model - by InsiteFX - 08-30-2016, 03:28 AM
RE: Recording drop down box on model - by davy_yg - 08-30-2016, 04:44 AM
RE: Recording drop down box on model - by wolfgang1983 - 08-30-2016, 02:50 PM
RE: Recording drop down box on model - by Wouter60 - 08-30-2016, 07:44 AM
|