Quote:
Originally Posted by tickler
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.
|
Actually I ended up just using your code... its alot cleaner than mine and its easy to expand when I decide to expand it. Right now theres just tgp and fs but I want to have add premium and avs and blogs eventually. With my code it would be a mess but with yours its pretty simple
Thanks Tickler
WB