[eluser]stoat[/eluser]
I seem to be using the dropdown function incorrectly... and 36 hours later I thought I'd ask the experts...
If I use "traditional" php like this
<SELECT NAME="officelist" id="oid">
<?php foreach($t3 as $cc):?>
<option value="<?php echo $cc['oid'] ?>"><?php echo $cc['officename'] ?>
<?php endforeach;?>
</SELECT>
I get the results I'm hoping for...
If I use the form_dropdown shown below, I get the correct number of rows... but the word "Array" instead of the Array value.
echo form_dropdown('officename', $t3,'0',$js);
I feel I'm missing the point somewhere... ;-) any pointers would be very gratefully received!