Welcome Guest, Not a member yet? Register   Sign In
I don't understand the Form user guide
#5

[eluser]metaltapimenye[/eluser]
[quote author="tomcode" date="1221544028"]Both is possible.[/quote]

yup, i agree..

why dont you try in your controller index?

Code:
...

function index(){
  $options = array(
                  'small'  => 'Small Shirt',
                  'med'    => 'Medium Shirt',
                  'large'   => 'Large Shirt',
                  'xlarge' => 'Extra Large Shirt',
                );
  echo form_dropdown('shirts', $options, 'large');
}
#tat's all .. and press F5 on your browser
...


Messages In This Thread
I don't understand the Form user guide - by El Forum - 09-15-2008, 06:25 PM
I don't understand the Form user guide - by El Forum - 09-15-2008, 06:47 PM
I don't understand the Form user guide - by El Forum - 09-15-2008, 06:55 PM
I don't understand the Form user guide - by El Forum - 09-15-2008, 08:43 PM
I don't understand the Form user guide - by El Forum - 09-15-2008, 10:59 PM
I don't understand the Form user guide - by El Forum - 09-16-2008, 08:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB