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

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -