On Fri, Mar 13, 2009 at 6:23 PM, Dave Maharaj :: WidePixels.com
<d...@widepixels.com> wrote:
>
>
>
> echo $form->select('level', array('0'=>'Low','1'=>'Medium','2'=>'High'),
> array('selected'=>'Low'));
>
> Renders this
>
> <option value=""/>
> <option selected="selected" value="0">Low</option>
> <option value="1">Medium</option>
> <option value="2">High</option>
>

Is it safe to say that you sent this before reading my response?


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~---------~--~----~------------~-------~--~----~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to