'order' => array('Comment.created' => 'DESC')

On Mon, Feb 9, 2009 at 12:08 PM, test <njit...@gmail.com> wrote:
>
> Hello!
>
> I paginate the previous comments. When I add a new comment, how should
> I put it on the top and removes the last shown comment. Can I just
> keep the middle comments unchanged?
>
> say:
>
> comment1
>
> comment2
>
> comment3
> ===========
> I will add comment 1*, so it display
>
> comment1*
>
> comment1
>
> comment2
> ==========
> just remove the comment3
>
> Thank you in advance
>
> Yuncong
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to