PylonHotel
New Member
- Apr 11, 2011
- 87
- 1
Hi,
I was trying to make a new header with this:
<li<?php if($page['cat'] == "3/index"){ echo " class=\"selected\""; } ?>>
<?php if($page['cat'] == "3/index"){ echo "<strong>".$lang->loc['Fan Guard']." </strong>"; }else{
echo "<a href=\"".PATH."/3/index.html\">".$lang->loc['Fan Guard']."</a>"; } ?>
<span></span>
</li>
but all it made was this:
Is there something wrong with the code? If so, please could someone fix it. Thank you <3
I was trying to make a new header with this:
<li<?php if($page['cat'] == "3/index"){ echo " class=\"selected\""; } ?>>
<?php if($page['cat'] == "3/index"){ echo "<strong>".$lang->loc['Fan Guard']." </strong>"; }else{
echo "<a href=\"".PATH."/3/index.html\">".$lang->loc['Fan Guard']."</a>"; } ?>
<span></span>
</li>
but all it made was this:
Is there something wrong with the code? If so, please could someone fix it. Thank you <3