doctrine2 - Symfony, previous and next links -
i'm working symfony2.
i have links previous , next articles of loaded article.
for instance.:
i have 3 post (1, 2 , 3).
when i'm in article 2 need show links articles 1 , 3 (previous , next)
any idea how efficiently?
thanks in advance
well best hint can give query date.
so next article first 1 older , prev article first 1 newer
Comments
Post a Comment