Welcome Guest, Not a member yet? Register   Sign In
Form drop_down problem
#5

[eluser]Michal1[/eluser]
Because even if I have this it does not work

Code:
$options = array(
                  'small'  => 'Small Shirt',
                  'med'    => 'Medium Shirt',
                  'large'   => 'Large Shirt',
                  'xlarge' => 'Extra Large Shirt',
                );
                    $this->load->view('admin_view',$options);

and then in admin_view:

Code:
<?php echo form_dropdown('shirts', $options, 'large'); ?>


Messages In This Thread
Form drop_down problem - by El Forum - 08-01-2011, 12:14 PM
Form drop_down problem - by El Forum - 08-01-2011, 12:23 PM
Form drop_down problem - by El Forum - 08-01-2011, 12:26 PM
Form drop_down problem - by El Forum - 08-01-2011, 12:27 PM
Form drop_down problem - by El Forum - 08-01-2011, 12:30 PM
Form drop_down problem - by El Forum - 08-01-2011, 02:44 PM
Form drop_down problem - by El Forum - 08-01-2011, 05:56 PM
Form drop_down problem - by El Forum - 08-02-2011, 12:21 AM
Form drop_down problem - by El Forum - 08-02-2011, 03:48 AM
Form drop_down problem - by El Forum - 08-02-2011, 03:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB