Re: [PHP] Alternating Links

2002-12-19 Thread conbud
Hey, thanks. I should have thought about it longer, since I made something the exact same to alternate bgcolors. Thanks for refreshing though. Justin French wrote: There was a post on a similar thing the other day, and about once a week for the past few years :P Quick (untested) example: $i

Re: [PHP] Alternating Links

2002-12-19 Thread Justin French
There was a post on a similar thing the other day, and about once a week for the past few years :P Quick (untested) example: '; } echo "{$myrow['link']}"; if($i == 2) { echo ''; $i = 0; } } ?> This is easily adaptable to three (or more) columns by changing the last if() statement..

Re: [PHP] Alternating Links

2002-12-19 Thread Philip Olson
This faqt answers your question: http://www.faqts.com/knowledge_base/view.phtml/aid/8583 Regards, Philip Olson On Fri, 20 Dec 2002, conbud wrote: > Hi. > Lets says I have 8 links stored in a database, extracting those links is > no problem. Now lets says I have 2 columns, how do I get link