<a href="distdetail.php?id=<?php echo($row_WADAdistributors['id']); ?><?php echo(isset($_GET["pageNum_WADAdistributors"])?"&pageNum_WADAdistributors=".intval($_GET["pageNum_WADAdistributors"]):""); ?>" >
to:
<a href="distdetail.php?id=<?php echo($row_WADAdistributors['id']); ?><?php echo(isset($_GET["pageNum_WADAdistributors"])?"&pageNum_WADAdistributors=".intval($_GET["pageNum_WADAdistributors"]):""); ?><?php echo(isset($_GET["distState"])?"&distState=".$_GET["distState"]:""); ?><?php echo(isset($_GET["distName"])?"&distName=".$_GET["distName"]:""); ?>" >
on the details page, change the code for the back to results button:
<input type="button" value="Back To Results" class="formButton Sharp" id="BackToResults" name="BackToResults" onClick="document.location.href = 'distresults.php<?php echo(isset($_GET["pageNum_WADAdistributors"])?"?pageNum_WADAdistributors=".intval($_GET["pageNum_WADAdistributors"]):""); ?>';" />
to:
<input type="button" value="Back To Results" class="formButton Sharp" id="BackToResults" name="BackToResults" onClick="document.location.href = 'distresults.php<?php echo(isset($_GET["pageNum_WADAdistributors"])?"?pageNum_WADAdistributors=".intval($_GET["pageNum_WADAdistributors"]):""); ?><?php echo(isset($_GET["distState"])?"&distState=".$_GET["distState"]:""); ?><?php echo(isset($_GET["distName"])?"&distName=".$_GET["distName"]:""); ?>';" />
Hi Jason --
This fixed the links in the Results table and Detail Page -- however the top & bottom record paging nav buttons on the Results page are not operational, and if I view a record using the record Detail button on Results the Return to Results also fails. . .
Return to Results also fails after an update. Update Page attached.
Thanks. . .
ETA: Found the Nav button problem. Relocated the code that defines $queryString_WADAdistributors so that it follows the recordset definition. . .