PHP Include - Is this correct??

I have a portfolio section of my site with a side-navigation. On the side navigation, I have it set to automatically drop-down a group section and highlight the item of the current page. Here is a link to see what I’m talking about: http://www.premieravdallas.com/portfolio/mcmillanjames.php

I was doing all of this with HTML/CSS, but I recently moved my side navigation to a separate PHP file to make it easier to add additional portfolio items. I wanted to keep the “drop-down” and “highlight” functions, so I added some PHP codes. Can someone take a look and tell me if it is correct. It is working, but I don’t know if it is the correct way to do it.

In my “sidecontent_left.php” file:

[php]

If its not giving you any errors, then its correct.

Sponsor our Newsletter | Privacy Policy | Terms of Service