Welcome Guest, Not a member yet? Register   Sign In
Question about form_dropdown() function in the form helper
#1

[eluser]Unknown[/eluser]
I want to know if i can do something like this:
Code:
$options = array(
     '1' => 'test',
     '2' => 'test',
     '3' => 'test',
     '4' => array(
          '5' => 'test',
          '6' => 'test',
          '7' => array(
               '8' => 'test'
          )
     ),
);

echo form_dropdown('categories', $options);
and the output will be:
test
test
test
-test
-test
--test
Thank you!!!




Theme © iAndrew 2016 - Forum software by © MyBB