Fw: Re: help w/ multidementional array in mysql

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

 



Sorry, I didn't cut that right:

Here it is:
<table class="results_inner">
   <?php
          foreach ($returned_rows as $key => $value)
           {       
           if ($key & 1)
                  {
                  echo "<tr><td class='results_blue'>".$value['lastname'].", ".$value[firstname]."</td></tr><br>";           
                  }
                  else    
                  {
                  echo "<tr><td class='results_white'>".$value['lastname'].", ".$value[firstname]."</td></tr><br>";
                  }
             }
                                
    ?>
</table>

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