View Single Post
  #2 (permalink)  
Old 03-13-2008, 08:25 PM
xentek's Avatar
xentek xentek is offline
Senior Member
 
Join Date: Feb 2008
Posts: 112
Default

First off, I recommend moving all of the querying stuff to your model file, and use that method in your Controller.

2nd, you may find that you need to set the results of $this-post-fetchAll(); to another variable, and then set that var to your view for it to give you your data (I'm assuming when you vardump the view var, you're getting metadata about your table, and not the data).

Also, vardump in the view, and work on $this->post and not $this->view->post.

HTH,
__________________
- xentek
Reply With Quote