I have successfully fetched a rowset from my database table unto the view script. I did a var_dump($result)
on the view script to confirm. But I am unable to fetch the individual rows to properly display their contents.
<?php
if($this->result)
while($data =$this->result->getRow())
var_dump($data);
I get the error message(truncated..):
Message: No row could be found at position 0
Stack trace:
#0 C:\wamp\www\events\application\views\scripts\event\fetch.phtml(6): Zend_Db_Table_Rowset_Abstract->getRow()
....
....
what am I doing wrong?