hi all
i am trying to integrate this into the navigation:
echo '<li class="navCenterBig filmList"><?php $a = new Area('header-image'); $a->display($c); ?></li>';
somehow i would need to mask the middle part, right?
can anyone help me?
this is the error:
syntax error, unexpected 'header' (T_STRING), expecting ';' or ','
thank you!
Try removing the - in header-image
doesnt work…
?!
thank you very much
echo '<li class="navCenterBig filmList"><?php $a = new Area('header-image'); $a->display($c); ?></li>';
Remove the PHP tag
echo '<li class="navCenterBig filmList">';
$a = new Area('header-image');
$a->display($c);
echo '</li>';
1 Like
that was it! thank you so much! 
The first line
is missing a > and a ’ at the end. It should be:
echo '<li class="navCenterBig filmList">';
I had so much trouble formatting the reply on my mobile. Kept adding french accents to words etc.
Any well spotted I will change it