You can use below code cakephp format. <?php
echo $html->input('listname',array('options'=>$mylist,'Selected'=>'Please select a value)); ?> On 8/11/09, jburns <jeremybu...@me.com> wrote: > > > How can I add a blank value (something like "Please select a value") > to the top of a select list when using $this->Xxxx->Yyyy->find > ('list'); instead of defaulting to the first value in the list? > > > -- Regards, Mohammad Arif Hossen Web Developer United Group International(UGIBD) www.ugibd.net Mobile no: +88 01714355911 Mobile no: +88 01922110308 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---