Whoopsie! :)

On Thu, Feb 26, 2009 at 5:29 PM, Gareth McCumskey <[email protected]> wrote:
> Small typo correction in Sid's post:
>
> <?php echo select_tag('test', options_for_select($options, 4)) ?>
>
> Just an extra parentheses...
>
> On Thu, Feb 26, 2009 at 6:13 AM, Sid Bachtiar <[email protected]>
> wrote:
>>
>> May be this is what you want:
>>
>> <?php echo select_tag('test', options_for_select($options, 4) ?>
>>
>> On Thu, Feb 26, 2009 at 4:51 PM, Pooja <[email protected]> wrote:
>> >
>> > Hi
>> > I am using the code below for drown down
>> > list.......................but getting problems as it is only
>> > displaying data in paragraph.
>> > public function executeTestlist()
>> >  {
>> >    $c=new Criteria();
>> >    $this->loginid=LoginPeer::doSelect($c);
>> >    $options=array();
>> >   foreach($this->loginid as $id)
>> >   {
>> >    $options[$id->getId()]=$id->getPwd();
>> >   }
>> >   $this->options=$options;
>> >  }
>> >
>> > }
>> >
>> >
>> > //In template
>> > <?php echo options_for_select($options,4) ?>
>> >
>> >
>> > >
>> >
>>
>>
>>
>> --
>> Blue Horn Ltd - System Development
>> http://bluehorn.co.nz
>>
>>
>
>
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

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

Reply via email to