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 1
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:
table
?
$i = 0;
$sql = 'select link from tablename';
$result = mysql_query($sql);
while($myrow = mysql_fetch_array($result))
{
$i++;
if($i == 1) { echo 'tr'; }
Hey, thanks. I should have thought about it longer, since I made
something the exact same to alternate tr 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:
3 matches
Mail list logo