How to continue numbered list in all next pages with pagination?

前端 未结 1 321
渐次进展
渐次进展 2021-01-27 12:30

I am trying to display data in an ordered list with pagination in php. It is working fine on page one but on next page, the list starts again from 1 instead of continuing from p

相关标签:
1条回答
  • 2021-01-27 13:19

    Just add start="$offset" to your echo "<ol>"; line.

    echo "<ol start='$offset'>";
    
    0 讨论(0)
提交回复
热议问题