With this code, it will list out 1,2,3,4,5 and so on......
<?
$displayperpage = 10;
for($i=1;$i<=$displayperpage;$i++)
{
echo "<br>".((($nowpage-1)*$displayperpage)+$i);
}
?>
If I need to query results from the database with this kind of code,
How do i do it???
Need it to do for paging....
Thanx!!!