I was trying to do that. But the program I am using has some weired coding in it.
function getFront($adtype){
global $dbtables,$str_common,$rlimit;
?>
<br>
<div id="menu">
<b><?=$str_common["newad"]?></b>
<br>
<?=$str_common[$adtype]?>
</div>
<?
$data=getDBData($adtype,""," ORDER BY id DESC LIMIT 10 ");
showList("detail",$adtype,$data);
?>
<div id="menu">
<b><?=$str_common["sum"]?>: <?=count($data)?></b><br>
</div>
<?
}
and even when I change a limit or want to count backwards..... it just doesn't work.
This is why I was hopeing I might be able to right this extra piece of code.