| 
 Posted by Jim Higson on 06/22/06 21:56 
Florida Flamingo wrote: 
 
> Thanks for all the great answers.  It looks like what I wanted to 
> accomplish is vastly over my head, as I don't write scripts. 
 
Is is actually really easy in PHP because it can be put in the middle of 
your HTML. You only need something like: 
 
<div id="links"> 
    <? if( $current_page == 'home' ): ?> 
        <span>HOME</span> 
    <? else ?> 
        <a href="http://www.example.com">HOME</a> 
    <? endif ?> 
</div> 
 
 
Not too bad, huh? There's a little more to it than that, but not a great 
deal. 
 
--  
Jim
 
  
Navigation:
[Reply to this message] 
 |