On Tue, Jul 15, 2008 at 10:39 AM, Igor <[EMAIL PROTECTED]> wrote:
> Is it possible to map this array in such a way so the output looks
> something like the example below? Or is it a matter of passing right
> query to findAll() to produce a asimpler array?
>
> <select>
>  <option value="2">Stage 2</option>
>  <option value="3">Stage 3</option>
> </select>
>

$this->Stage->find('list') should generate an array that you can pass
to form->select()


-- 
Chris Hartjes
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to