I have some pagination code on my page, what I want is to disctinguish the current page from the numbers at the bottom of the page
<table width="600px" cellpadding="0" cellspacing="0" bgcolor="#E0FDFE">
<tr class="small_txt">
<?
if ($pagenum != 1)
{
$previous = $pagenum-1;
echo "<td width="100" align="left"><a href='{$_SERVER['PHP_SELF']}?pagenum=$previous'> <-Previous</a></td> ";
}
else
{
echo "<td width="100" align="left"></td> ";
}
echo "<td width="400" align="center">";
for($i = 1;$i <= $last;$i++)
echo "<a class='pagination' href='{$_SERVER['PHP_SELF']}?pagenum=".$i."'>$i</a> ";
echo "</td>";
if ($pagenum != $last)
{
$next = $pagenum+1;
echo " <td width="100" align="right"><a href='{$_SERVER['PHP_SELF']}?pagenum=$next'>Next -></a></td></tr></table> ";
}
else
{
echo " <td width="100" align="right"></td> ";
}
?>
</tr>
</table>
Any help would be much appreciated
Regards
Andy