0

Sorry for the title. I'm so confuse what title should i write. Editing my question title is allowed.

i have this url : example.com?id=33

thats mean: SELECT content FROM article WHERE id=33

content id 33 will shown in thats page.

but, in the footer i want to give pagination. because id=33 is the 17th row. the pagination will be

15 16 [17] 18 19

the problem is:

how to know the row number of id 33?

Funk Forty Niner
  • 74,450
  • 15
  • 68
  • 141
plonknimbuzz
  • 2,594
  • 2
  • 19
  • 31

0 Answers0