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

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -