3
Contributors
19
Replies
22
Views
8 Years
Discussion Span
Last Post by diafol
Featured Replies
  • [code=php]<?php $thisfile = substr($_SERVER['REQUEST_URI'], strrpos($_SERVER['REQUEST_URI'], '/') + 1); if ($thisfile == 'index.php') { echo 'Home'; } else{ echo '<a href="index.php">Home</a>'; } if ($thisfile == 'one.php') { echo 'menu1'; } else{ echo '<a href="one.php">menu1</a>'; } if ($thisfile == 'two.php') { echo 'menu2'; } else{ echo '<a href="two.php">menu</a>'; } /* etc */ … Read More

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.