Just wanted to say hello to all the other newbies, and ask my first question:
Your help is extremely needed, and I would appreciate anyone who can help.
I am trying to make a website with SSI (server side includes), so my site doesn't take years to load.
Here is my html and <?php ?> function:
Here is my menu:
What I don't understand is how I can get ONLY the index page to show these:
include_once('i ncludes/mission_stateme nt.php');
include_once('i ncludes/framed_gallery. php');
with out it having to stay on every page there after...???
Thanks in advance,
Digital Drew
Your help is extremely needed, and I would appreciate anyone who can help.
I am trying to make a website with SSI (server side includes), so my site doesn't take years to load.
Here is my html and <?php ?> function:
Code:
<body> <div id="container"> <?php include_once('includes/search.php');?> <?php include_once('includes/tabs.php');?> <?php include_once('includes/menu.php');?> <div id="content"> <?php include_once('includes/mission_statement.php'); include_once('includes/framed_gallery.php'); if($_GET['page']) { include('pages/' . $_GET['page'] . '.php'); } else { include('pages/home.php'); } ?> </div> <?php include_once('includes/footer.php');?> </div> </body> </html>
Here is my menu:
Code:
<div id="side_bar_menu"> <div class="glossymenu"> <a class="menuitem_home" href="http://bytes.com/community/greenfield" ></a> <a class="menuitem_about submenuheader" href"../greenfield/home.php?page=Welcome"> </a> <div class="submenu"> <ul> <li><a href="http://bytes.com/community/greenfield/home.php?page=Welcome">Welcome</a></li> <li><a href="http://bytes.com/community/greenfield/home.php?page=Community">Our Community</a></li> <li><a href="http://bytes.com/community/greenfield/home.php?page=Common">Commom Experiences</a></li> <li><a href="http://bytes.com/community/greenfield/home.php?page=Expectations">Expectations of Students</a></li> </ul> </div>
What I don't understand is how I can get ONLY the index page to show these:
include_once('i ncludes/mission_stateme nt.php');
include_once('i ncludes/framed_gallery. php');
with out it having to stay on every page there after...???
Thanks in advance,
Digital Drew
Comment