Skip to main content

Forums

This topic contains 2 replies, has 0 voices, and was last updated by  Jefke 10 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22991

    Jefke
    Member

    Hi all…

    I have intregated a menu and used a php included :

    Code:
    < ? php include('menu.php'); ?>

    Now i have a problem because i want to integrate an

    Code:
    id=”current”

    to the menu item of the visited page. Is there a solution for this?

    Thanks for the help!

    #49200

    adhoc01
    Member

    I asked a very similar question a while back and got given this code to use the file name to dynamically load the body id’s.

    Code:
    < ?php $fname = basename($_SERVER['PHP_SELF'], ".php"); ?>

    Thought it might help . . .

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star