PHP Menus Updating Includes Content
Posted: Tue Jan 27, 2009 12:32 pm
I need some quick help and Im pulling my hair trying to find this, and I am a php newbie.
What I need is for the menus of my website, when clicked, to determine what the content is that lods up under the topnav. As I have it right now...
So I want the topnav menu buttons assigned a $menu value, and when user clicks on it, the page loads up the respected content page. Is there an easy way to do this??
What I need is for the menus of my website, when clicked, to determine what the content is that lods up under the topnav. As I have it right now...
Code: Select all
<body>
<?php include 'topnav.php' ; ?>
<?php include '$menu' ; ?>
</body>