Does anyone know how to limit a long record, like a news article that has 5 > pages? > I want to limit it so it displays the first page then at the bottom it > prints: > > <<1 2 3 4 5 6 7>> > > then when you click 2 or the right arrow it displays the second page of > the record?
I have been trying to use the following script but I can't get it to work: echo(substr($article, ($i - 1) * $pagesize, $pagesize); for ($i = 1; $i < strlen($article) / $pagesize; $i++) echo("<a href='thispage?page=$i'>"); > > Thanks > > --Will