Return to exact results page from detail page instead of first set of results
My results page is limited to 10 results per page by design and can contain muliple pages of 10 records. On the details page I need the ability to go back to the actual page of the results instead of the first page of the results. I have attached the results and detail page.
You will notice the <img> with code like this to currently return to the result which works fine until you have to page back as I described. I have a feeling I am missing a variable somewhere?
<a class="WADAHeader" href="member_Results.php?pageNum_WADAmember=<?=$_GET["pageNum_WADAmember"]?>&totalRows_WADAmember=<?=$_GET["totalRows_WADAmember"]?>&S_l_Name=<?=$_GET["S_l_Name"]?>&S_member_Id=<?=$_GET["S_member_Id"]?>&S_address=<?=$_GET["S_address"]?>&S_main_Phone=<?=$_GET["S_main_Phone"]?>"><img src="images/images.jpg" alt="back" border="0"></a>