action controller
 
$table = new Table();
$row = $table->find($id)->current();
$color = $row->color;
 
$this->view->colors = array('R' => 'red', 'G' => 'green', 'B' => 'blue');
$this->view->color = $color;
 
 
action.phtml
 
$this->formSelect('selectColor', $this->color, null, $this->colors);
 
 
 
 
 
-----Original Message-----
From: "Jijo"<[EMAIL PROTECTED]> 
To: fw-general@lists.zend.com
Cc: 
Sent: 07-08-06(월) 16:50:47
Subject: [fw-general] retrive data from database to combobox
hi,
can anybody help me how to store data in select box by retriving it from
database
regards,
Jijo Anthony
-- 
View this message in context: 
http://www.nabble.com/retrive-data-from-database-to-combobox-tf4222723s16154.html#a12012296
Sent from the Zend Framework mailing list archive at Nabble.com.
 

Reply via email to