I started to learn Zend in 3 days ago and got stuck. I have a table sample table like this in view.phtml
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Email</th>
<th>Address</th>
<th>Status</th>
</tr>
</thead>
and in model.php
public function listallemail() {
$db = $this->getDefaultAdapter();
$query = $db->select()
->from('members','email');
return $db->fetchAll($query);
}
now i have list all the email from mysql database and I want to insert only into the <th>Email</th> with the other column leave blank. Can anyone suggest the way for me to do that