RE: [PHP] Alternating table rows...

From: Date: Fri, 10 May 2002 19:46:39 +0000
Subject: RE: [PHP] Alternating table rows...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96999@lists.php.net to get a copy of this message
[snip] <? $rowcount = 0; while($dbrowa = mysql_fetch_object($dbseta)){ $dbrowb = mysql_fetch_object($dbsetb); //change the color of alternating rows $rowcount ++; if ($rowcount == 1){........too many lines of code [/snip] I get humbled by this list every day. Could I have Single PHP Lines for a thousand Alex? Dammit, still thinking like an old Basic programmer... Jay

« previous php.general (#96999) next »