linkjg Posted July 4, 2006 Share Posted July 4, 2006 Hello,This is my first post to the board and I'm a newbie with PHP!I have a menu in navigation.php that is called in index.php by:<?php include("navigation.php"); ?>I have a spot on my index.php that I would like the name of the link to also appear on that corner of the page, like a page header. So, if the "Home" link is selected, "Home" appears above the welcome article.Is there a PHP method for placing the link name also on a specified corner of the index page?Thanks for your help! Quote Link to comment https://forums.phpfreaks.com/topic/13659-code-to-echo-link-title-on-page/ Share on other sites More sharing options...
SharkBait Posted July 4, 2006 Share Posted July 4, 2006 I guess it depends on how your layout is done.When you want to add 'Home' to your header. Do you mean you have a navigation bar at the top? Or a bread crumb type trial?Are you using a column type layout? 2-column or 3-column layout? Quote Link to comment https://forums.phpfreaks.com/topic/13659-code-to-echo-link-title-on-page/#findComment-52989 Share on other sites More sharing options...
linkjg Posted July 4, 2006 Author Share Posted July 4, 2006 Hi Sharkbait,I have a 2 column layout... header top, footer bottom, menu left, content right.The menu has something like:HomeStuff 1Stuff 2I have a blank row over the content on the right which is blank. When a user clicks on the link "home", I'd like the text "home" to appear in the empty bar.Thanks for your help! Quote Link to comment https://forums.phpfreaks.com/topic/13659-code-to-echo-link-title-on-page/#findComment-53025 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.