Jason Rowe

Be curious! Choose your own adventure.

Category: PHP

  • PHP Active Tab Menu Pattern

    I was just messing with PHP and made this simple little script to track which menu item is active. It looks at the last URL folder name to make the match. For example, if the URL was “http://localhost/example/About/” it would match “about” and write out the needed css. It also works correctly with the URL […]