karma(无为) thank you . I see.Chang the i value, that all right ;
another method is to pass the starting value and ending value along with the URL, for example, http://nizvoo.myrice.com/image.html?8,15then add links at the bottom <a href="http://nizvoo.myrice.com/image.html?0,7>Prev Page</a> <a href="http://nizvoo.myrice.com/image.html?16,23>Next Page</a>inside your code, get those two numbers, say, a and b, then do for ( i = a ; i <= b ; i ++ ) { if ( i%4 == 0 ) .....
I see.Chang the i value, that all right ;
<a href="http://nizvoo.myrice.com/image.html?0,7>Prev Page</a>
<a href="http://nizvoo.myrice.com/image.html?16,23>Next Page</a>inside your code, get those two numbers, say, a and b, then do
for ( i = a ; i <= b ; i ++ ) {
if ( i%4 == 0 )
.....