Re: Re: help w/ multidementional array in mysql

From: Date: Thu, 26 Feb 2004 03:16:45 +0000
Subject: Re: Re: help w/ multidementional array in mysql
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-33136@lists.php.net to get a copy of this message
X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 25 Feb 2004 15:39:17 -0800 Justin Patrin <papercrane@reversefold.com> wrote: > ;-) > > <table class="results_inner"> > <?php > foreach ($returned_rows as $key => $value) > { > echo "<tr><td class='". > ($key & 1 ? 'results_blue' : > 'results_white')."'>". > $value['lastname'].", > ".$value[firstname]."</td></tr><br>"; > } > > ?> > </table> > > -- > paperCrane <Justin Patrin> Now how elegant is that? You da man! -- Scott

« previous php.db (#33136) next »