Jump to content

how to find on which page does the data exist


prakash

Recommended Posts

I have currently fetch data from the mysql database in the form of pagination and each will list 20 data on each page.

Suppose I am on Page 1 and the data 'A' exist on Page 5.

My question is how to find data 'A' on which page does it exist and set $page variable with that page number.

 

any code please?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.