hey all,
trying to get a row color background in my dropboxes. i've seen it done on other sites and can't figure it out..
here is my script which works for gathering the info, but not getting the row colors in.
$si =0;
$tbgcolor = is_int($si / 2)?"#efefef":"#ffffff";
$seasonselect = "
<center>
<form bgcolor=\"$tbgcolor\" method=\"post\" action=\"index.php?opt=viewplayer&pid=$pid&divid=$divid&sid=$sid&tid=$tid\">
<input type=\"hidden\" name=\"opt\" value=\"viewplayer\">
<input type=\"hidden\" name=\"season\" value=\"".$open_season."\">
<select name=\"pid\">
<option bgcolor=\"$tbgcolor\" value=\"\" selected>Select Team Player</option>";
while($counter_divisions < $total_rows_divisions) {
$thisdiv = mysql_result($result_pi,$counter_divisions,"fname");
$thisdiv1 = mysql_result($result_pi,$counter_divisions,"lname");
$thisdivid = mysql_result($result_pi,$counter_divisions,"id");
$divarray[$counter_divisions] = $thisdivid;
$seasonselect .= "
<option bgcolor=\"$tbgcolor\" value=\"".$thisdivid."\"> ".$thisdiv." ".$thisdiv1."</option>";
$counter_divisions++;
}
$seasonselect .= "
</select>
<input class=\"button\" type=\"submit\" name=\"Submit\" value=\"<!--%cc_view%-->\">
</form></center>";