On Fri, Mar 13, 2009 at 10:12 PM, Samuel DeVore <[email protected]> wrote:
>
> echo $form->select('level',
> array('0'=>'Low','1'=>'Medium','2'=>'High'), array('selected'=>'0'));

Or, in this particular case, just

echo $form->select('level', array('Low','Medium','High'));

Best regards.

--
MARCELO DE F. ANDRADE (aka "eleKtron")
Belem, PA, Amazonia, Brazil
Linux User #221105

[...@parĂ¡ ~]# links http://pa.slackwarebrasil.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to