try this :
code:
<span class="subnav2" <? if(($page == 'a') || ($page == 'b')): echo "id=\"active\"" endif ?>>
1
solved Or statement in PHP
try this :
code:
<span class="subnav2" <? if(($page == 'a') || ($page == 'b')): echo "id=\"active\"" endif ?>>
1
solved Or statement in PHP