I have a PHP page, i need u put a new column in the table (the table is generated from a database mysql) is simple u need put a new column "POS" with numbers 1 to 20, i need i can modify this information if i want, example if i want 1 to 32 or 1 to 16 in the column.. so just do simple in the php code so i can edit it in the future, second thing i need u put diferent colors to my 4 first rows in my table and 4 colors in the last 4 rows in my table, i need u do this very simple so i can modify the php code and if i want remove some color or add more color to more rows i can do it easy.. is all, thanks.. check my images to more understanding.. i will select the bid of the most fast time of delivery, this a simple project... this the part of my php code than generate my table:
if($divDisplay == "standings") uasort($standings_array, 'Compare_standings');
else ksort($standings_array);
while (list ($key, $value) = each ($standings_array)) {
$standings .= "
<tr class="table_text" bgcolor="#F2F2F2" align="center" valign="middle">
<td style="text-align:left; font-weight:bold;"><img src="".$value["id"].'.png'.""> <a href="?opt=viewteam&id=".$value["id"]."&sid=".$season."">".$key."</a>  <em><strong>DT</strong></em> <img src="".$value["id"].'dt'.'.png'.""></td>";
if($divDisplay == "standings") {
$standings .= "
<td bgcolor="#dfdfdf">".$value["gp"]."</td>
<td>".$value["w"]."</td>
<td>".$value["d"]."</td>
<td>".$value["l"]."</td>
<td bgcolor="#dfdfdf">".$value["pts"]."</td>
<td>".$value["gf"]."</td>
<td>".$value["ga"]."</td>
<td>".$value["gd"]."</td>";
}
$standings .= "
</tr>";
}
if($standings == "") {
$standings.= "
<tr style="background-color:#FFFFFF; text-align:center;">
<td class="table_text" colspan="9">".$_LANG['cc_noteams']."</td>
</tr>";
}
$item_menu = new Menu;
$item_menu->CreateMain($type = "standings");
$menu = $item_menu->get();
ob_start();
include("html/[login to view URL]");
$contents = ob_get_contents();
ob_end_clean();
return $contents;
}
?>