<marquee style = "color: Red; font-size: 24px;">
<?php for($i = 0; $i < 50; $i++)
{
echo $symbol[$i];
echo "\t";
echo $chng[$i];
echo "\t\t\t";
}?>
</marquee>
I need to change the color of text based on the value of $chng[$i]. i.e. if $chng[$i] >
0.. green, else red.
1 Answer