Current Nav

I am trying to get a You are here script to work on my navigation and it’s partially there, but not quite.

Here’s a couple of snippets of code…

This works

<!-- News Page -->
                    <li <?php 
                            if ($currentPage == 'news.php') {echo 'class="currentnav"';} ?>>
                            <a href="<?php echo $absolutePath ?>/pages/news.php">news</a>
                    </li>

This works partially

<!-- Columns -->
                    <li 
                
                    <?php 
                        if ($currentPage == 'columns.php') {echo 'class="currentnav"';} ?>
                    <?php 
                        if ($currentPage == 'acCurmudgeon.php') {echo 'id="currentnav"';} ?>
                    <?php 
                        if ($currentPage == 'acAdvisor.php') {echo 'id="currentnav"';} ?>    
                    <?php 
                        if ($currentPage == 'mrsJones.php') {echo 'id="currentnav"';} ?>
                        
                ><a href="<?php echo $absolutePath ?>/pages/columns.php">columns</a>
                    <ul >
                            <li><a href="<?php echo $absolutePath ?>/pages/acCurmudgeon.php">Artcar Curmudgeon</a></li>
                            <li><a href="<?php echo $absolutePath ?>/pages/acAdvisor.php">Artcar Advisor</a></li>
                            <li><a href="<?php echo $absolutePath ?>/pages/mrsJones.php">Mrs. Jones Love Expert</a></li>
                        </ul>
                    </li>

It works on the columns.php page, but not the subpages

Here is an example of the code
Untitled Document

Okay, nevermind. Stupid me figured it out.