Re: Re: help w/ multidementional array in mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> 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 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux