[eluser]WanWizard[/eluser]
There is nothing in your controller, so lets start with 'the brand selected'. Where do you select that? I assume you have some other controller with a form that contains a brands dropdown?
If not, you need that first.
First, make sure you have the array extension loaded (manually or in your config file). You can then create a key-value array for an HTML select using:
Code:
$b = new Brands;
$b->get();
$dropdown = $b->all_to_single_array('Brands');
Then pass $dropdown to your view to generate the select...