Re: Fw: [PHP-DB] Re: help w/ multidementional array in mysql

From: Date: Wed, 25 Feb 2004 23:39:17 +0000
Subject: Re: Fw: [PHP-DB] Re: help w/ multidementional array in mysql
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-33134@lists.php.net to get a copy of this message
;-) <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>

« previous php.db (#33134) next »