if($i < $numtgp) {
if($i < $numfs) {
Still a small problem with these, they should be using <=
Personally I don't like nested elseif groups. They tend to get confusing when you get into multiple levels.
Also I prefer using spilt() to place the record into named fields like $linkHref, $linkDesc, rather than array buckets. A little easier to remember what is what, when you get down a few 100 lines of code later.
|