Hi, thanks for your answer. I already had declared the 'var
$name='Post'' and 'var $name='Posts'' in model and controller. (the
tryout var was simply a test to see if the view recieved the data)
When I do this in the controller, '$this->set('posts', Array( "0" =>
Array( "Post" => Array("id" => "1", "title" => "the title", "created"
=> "1-1-1280"))));' then the view will display the data and a
'pr($posts)' will display the contents of $posts. But when I use
'$this->Post->findAll()', like it is said in the tutorial, then there
is no data retrieved from the database.I am somewhat baffled why it will not get the data from the database. Regards Moob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
