Forums

PHP

This topic is locked

go to pages..1,2,3.. script..

Posted 22 Oct 2001 08:31:02
1
has voted
22 Oct 2001 08:31:02 siewho chang posted:
<font face='Verdana'><b>
simple addon <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

&lt;?
//go to pages...navigator

$pages=ceil ($list_total/$list_numRows);
for ($i=0; $i &lt; $pages; $i++)
{
$offset = ($list_numRows*(($i+1)-1));
echo "&lt;a href=\"$urlStr$offset\"&gt;".($i+1)."&lt;/a&gt; \n";
}?&gt;

</font id='Verdana'></b>

Edited by - siewho on 10/22/2001 08:33:34

Reply to this topic