Hey guys, please bear with me cause I am a major newbie at php. I am
building a website and have it so that the content in the middle of the
page changes but the banner on top and the panels on the sides do not.
The way I am doing this is by having a top.php file and a bottom.php
file and in my file index.php it would look like this:
<?php
include("top.ph p");
?>
Here is my index stuff...
<?php
include("bottom .php");
?>
and that works great. However, I thought it would be cool to have it so
that one of the panels changed for each website so that it was specific
to the page you were on but the others stayed the same. So I thought I
could do include("top.ph p?panel=homepag e"); and edit the top.php page
accordingly. However, this does not work. Thanks so much for your help.
Matt
building a website and have it so that the content in the middle of the
page changes but the banner on top and the panels on the sides do not.
The way I am doing this is by having a top.php file and a bottom.php
file and in my file index.php it would look like this:
<?php
include("top.ph p");
?>
Here is my index stuff...
<?php
include("bottom .php");
?>
and that works great. However, I thought it would be cool to have it so
that one of the panels changed for each website so that it was specific
to the page you were on but the others stayed the same. So I thought I
could do include("top.ph p?panel=homepag e"); and edit the top.php page
accordingly. However, this does not work. Thanks so much for your help.
Matt
Comment