How to change background color for last render row in while loop ....
that is
row1
row2
**row3**
If row4 is added then it should
row1
row2
row3
**row4**
that is star represents some bgcolor red...
this loop am following,,,, $i = 1; while ($row = mysql_fetch_assoc($sql)) {
$out_data[] = "<p>$i {$row['news']} </p>";
$i++;
}
$divider = '<div class="border"></div>';
$output = implode ($divider, $out_data);
echo $output;