sorry this is part 2,

and my index.ctp looks like this:

...// html/php to show the posts
echo $paginator->prev('« Previous ', null, null, array('class' =>
'disabled'));6.    echo $paginator->next(' Next »', null, null, array
('class' => 'disabled'));


(exactly like the tut)
 I'm receiving an error:

Notice (8): Undefined variable: posts [APP\views\posts\index.ctp, line
1]
Warning (2): Invalid argument supplied for foreach() [APP\views\posts
\index.ctp, line 1]

thank you

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to