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) ?>


--~--~---------~--~----~------------~-------~--~----~
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