hi
i,m basicaly trying to colour the columns when the user picks from the dropdownlist and radio buttons here is the code:
[code=php]
if (isset($_SESSION[‘radiobutton1’]))
{
if ($_SESSION[‘radiobutton1’] == ‘chocolate’){
$colour = “#D2691E”;
}elseif ($_SESSION[‘radiobutton1’] == ‘forestgreen’){
$colour = “#228B22”;
}elseif ($_SESSION[‘radiobutton1’] == ‘turquoise’){
$colour = “#00DED1″;
}
}
if (isset($_SESSION[‘checkbox10′])) {
fwrite($handle,'<td><xsl:value-of select=”fgeu_code”/></td>’.”n”);
}else{
if($_SESSION[‘dropdown’] == “fgeu_code”) {
fwrite($handle,'<td bgcolor=”$colour”><xsl:value-of select=”fgeu_code”/></td>’.”n”);
}
but is not working or wrtiting the lines when it does it only writes:
[CODE]<td><xsl:value-of select=”fgeu_code”/></td>
not:
[CODE]<td bgcolor=”#D2691E”><xsl:value-of select=”fgeu_code” /></td>
can anyone see why?
thanks for your time