Hi there,
My PHP is appalling/non-existant. I have a HTML website with a PHP header that I've 'included' on all the pages. The problem is that this header colours red whichever page we are currently on, defined under the CSS as being 'active'.
Therefore, from what I see, I need a way in my header.php file to be able to see what webpage is currently open on the site, and use that answer to set active on or off.
e.g.,
IF current webpage = about.php THEN set about.php to active
else
IF current webpage = home.php THEN set home.php to active
...etc, etc.
Is there a relatively simple way to accomplish this?