Hi there,
I am quite confusing in getting page number for pagination links.
See what I am doing:I have a ShowDetails.php page on which I have created page links in for loop. Onclick of every links I am calling ajax function with parameter as URL(GetData.php) and target. When this function is called I get data through GetData.php and print it with div tag(target) in ShowDetails.php. As using ajax to get data, I not getting current page number in ShowDetails.php, because links are created in for loop and getting result and printing it div tag.
So can somebody here help me getting page no on ShowDetails.php
Your help will be greatly appreciated. Thank you in advance.