whatson - 6:21 am on Nov 19, 2012 (gmt 0)
So what I am trying to do is have a link at the bottom of my pages saying previous and next article.
The only way I can think of how to do this, is to run a while loop of all the articles, and when it comes to the current article record the number it is in the array, e.g. $row, and then link previous to $row and next to $row.
However, the issue I have here is I can't work out how to record 7 in some way.
Perhaps my logic is not right here, anyone else have any ideas on how to accomplish this?