On the site that im building there is a title bar on the page above the content. My site is also using modules. I want it so that depending on what module im on, the title bar text changes.
heres basicly what my code for the title bar looks like:
HTML Code:
echo "<center><b>".$title."</b></center>";
by default the $title variable is set to "Main". Below the above code is this:
HTML Code:
switch ($_GET['module']){
case 'about':
include("modules/about.php");
$title = "About";
break;
I thought that that would work but it didnt :S
|