I think if you use the generateList() method you may be able to loop
through the array that it returns manually.
In your controller:
$this->set("options", $this->Model->Data->generateList());
In your view:
<? foreach($options as $option): ?>
<option value="<? echo $option[0] ?>"><? echo $option[1] ?></option>
<? endforeach; ?>
You may have to play around with the array keys to get it to return the
right data.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---