Showing page numbers with my current code for recordset navigation
===

This is what I have for my record set navigation. Is there a way to build off this to show my numbers? Thanks in advance. 

          <table border="0" align="center">
            <tr>
              <td><?php if ($pageNum_getDisplay > 0) { // Show if not first page ?>
                  <a href="<?php printf("%s?pageNum_getDisplay=%d%s", $currentPage, 0, $queryString_getDisplay); ?>">First</a>
                  <?php } // Show if not first page ?></td>
              <td><?php if ($pageNum_getDisplay > 0) { // Show if not first page ?>
                  <a href="<?php printf("%s?pageNum_getDisplay=%d%s", $currentPage, max(0, $pageNum_getDisplay - 1), $queryString_getDisplay); ?>">Previous</a>
                  <?php } // Show if not first page ?></td>
              <td><?php if ($pageNum_getDisplay < $totalPages_getDisplay) { // Show if not last page ?>
                  <a href="<?php printf("%s?pageNum_getDisplay=%d%s", $currentPage, min($totalPages_getDisplay, $pageNum_getDisplay + 1), $queryString_getDisplay); ?>">Next</a>
                  <?php } // Show if not last page ?></td>
              <td><?php if ($pageNum_getDisplay < $totalPages_getDisplay) { // Show if not last page ?>
                  <a href="<?php printf("%s?pageNum_getDisplay=%d%s", $currentPage, $totalPages_getDisplay, $queryString_getDisplay); ?>">Last</a>
                  <?php } // Show if not last page ?></td>
            </tr>
          </table>

