Yes but it didn`t help much. Here's my code:
<?php
if ($id = "1"){
$style = array(0=>"bgcolor='#666666' class='menuon'",
1=>"bgcolor='#666666' class='menuon'",
2=>"bgcolor='#ffffff' class='menuoff'");
} else {
$style = array(0=>"bgcolor='#666666' class='menuon'",
1=>"bgcolor='#ffffff' class='menuoff'",
2=>"bgcolor='#ffffff' class='menuoff'");
}
?>
In other words, the value of $id will determine the value of $style.
Is there an easier way to do this perhaps?