The code below just list accounts in a select box. How would I change change the text color or the color of the row in the select? Thanks
[code=php]echo "<select name = 'ef_enter' size='12' class='ls'>";
for ($i = 0 ; $i < $num_results; $i++)
{
$row = mysql_fetch_array($result);
$fstname = $row['FST_NAME'];
$lstname = stripslashes($row['SURNAME']);
$mem_no = $row['MEM_NO'];
$typepay = $row['TYPE_PAY'];
$submem_no = substr($mem_no, 3, 10);
$tacctno = $mem_no;
$myvar=str_pad($tacctno,13," ",STR_PAD_RIGHT);
$myvar=str_replace(" "," ",$myvar);
$tacctno = $myvar;
echo "<option value='$submem_no'>$tacctno $lstname, $fstname</option>";
}
echo "</select><br>";[/code]