|
Re: split xml search into multiple pages?
first, you get the entire array. Then let's say each page has 10 pages. So $i (the current item) is 10*(page_num-1). So on page 1 it starts at 0, page 2 it starts at 10, etc. Then we loop it until we A) run out of items, or B) Have displayed 10 products. That explain it any better?
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; }
<quote>"I think it's wrong that only one company makes the game Monopoly " - <name>Steven Wright </name></quote>
|