• alternate styles in php select

    <?
    $color="1";
    while ($line = mysql_fetch_array($result)) {
      if($color==1){
        echo '<tr bgcolor="">';
        $color="2";
      } else { 
        echo '<tr bgcolor="#dcdcdc">';
        $color="1";
      }
      ?><td align="left" width="40"><a href=""></a><?= $line[name] ?></td>
    
    <?
    }
    ?>
  • You might also like

    No comments:

    Post a Comment

    Good day precious one, We love you more than anything.

Powered by Blogger.