Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now
4 edited tags
| link
3 Added extra specification.
source | link

PS: I would prefer not to use a plugin solution, nor a client-side solution(I want it all done on the server in PHP).

PS: I would prefer not to use a plugin solution.

PS: I would prefer not to use a plugin solution, nor a client-side solution(I want it all done on the server in PHP).

2 Added an example.
source | link

For example:

I am on page 5:

Posts are as follows: 41, 42, 43, 44, 45, 46, 47, 48, 49, 50.

Say I clicked on 44.

The page I'm taken to has the same loops but with 44 in the beginning, and the others rearranged accordingly.

The loop would read as follows: 44, 45, 46, 47, 48, 49, 50, 41, 42, 43.

Then if I clicked on the next page. Since I'm on page 5 and clicked on 6, the loop would be normal again: 51, 52, 53...

For example:

I am on page 5:

Posts are as follows: 41, 42, 43, 44, 45, 46, 47, 48, 49, 50.

Say I clicked on 44.

The page I'm taken to has the same loops but with 44 in the beginning, and the others rearranged accordingly.

The loop would read as follows: 44, 45, 46, 47, 48, 49, 50, 41, 42, 43.

Then if I clicked on the next page. Since I'm on page 5 and clicked on 6, the loop would be normal again: 51, 52, 53...

1
source | link