Is this correct the correct way to set up this array.
This is how it is now
// Just a select few..
$extra = array('lunch' => 'soup',
'ivy'=>'poisonplants',
'poisonplants'=>array('yes'=>'ivy.gif', 'no'=>'ivy0.gif'),
'thorn'=>'briars',
'briars'=>array('yes'=>'thorn.gif', 'no'=>'thorn0.gif'),
'cactus'=>'sting',
'sting'=>array('yes'=>'cactus.gif', 'no'=>'cactus0.gif'),
'date1'=>'yearround',
'yearround'=>array('yes'=>'date.gif', 'no'=>'date0.gif'));
// Just a select few
With this, the section with the briiars is the code of question.
// Just a select few..
$extra = array('lunch' => 'soup',
'ivy'=>'poisonplants',
'poisonplants'=>array('yes'=>'ivy.gif', 'no'=>'ivy0.gif'),
'thorn'=>'briars',
''briars'=>array('yes'=>array('img'=>'thorn.gif', 'alt'=>'Thorns', 'tag'=>'Thorns in the area'),
'no'=>array('img'=>'thorn0.gif', 'alt'=>'No Thorns', 'tag'=>'No Thorns in the area'),
'cactus'=>'sting',
'sting'=>array('yes'=>'cactus.gif', 'no'=>'cactus0.gif'),
'date1'=>'yearround',
'yearround'=>array('yes'=>'date.gif', 'no'=>'date0.gif'));
// Just a select few
-Thanks