This is a discussion on "Way to tell what page you're on?" within the PHP Forum section. This forum, and the thread "Way to tell what page you're on? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Way to tell what page you're on?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
Way to tell what page you're on?
Is there a way in php to tell what page your using? As in, I have an include, my menu, and when it's on the homepage, I want it to not display the "Home" link. Is there a way I can say:
If 'the current page' ='index.php' then don't display the home link. (of course in php, not jibberish like that). |
|
|
|
#2
|
|||
|
|||
|
#3
|
||||
|
||||
|
Thanks!
|
![]() |
| Tags |
| tell, page, youre |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best way to prevent access to page B except via page A? | Donny Bahama | PHP Forum | 1 | Apr 3rd, 2008 02:15 |
| Green bar of colour at bottom of page gets bigger the more page is extended | pixelgirl | Web Page Design | 1 | Apr 1st, 2008 01:27 |
| internal navigation, Linking from one page to a specific div in another page. | Oak | Web Page Design | 5 | Feb 8th, 2008 22:54 |
| Linking an outside page back to previous framed page | MJustison | Starting Out | 1 | Oct 18th, 2007 17:49 |
| A gap appears beween the Page Title and the Body Content of the page. | sovereign6 | Web Page Design | 6 | Dec 18th, 2006 19:14 |