Im trying to get data from DB.
I have table post: title, body etc from tutorial
http://book.cakephp.org/view/1528/Blog
but i have add there some columns like: link, media
Now when im geting data in posts_controller:
$this->set('posts', $this->Post->find('all', array('order' => 'id
DESC', 'limit' => 10)));
in posts i dont see new columns, why?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php