let me explain what i am trying to do, I have a list of links down the left side of my page. and when I go to a section say counter-strike I want it to load the cs nav "cs.php" so I got it doing that
with this code here.
<?php
if ($page=="cs-home") {
include ("http://www.themobnetwork.com/site/nav/cs.php");
}
elseif ($page=="d2-home") {
include ("http://www.themobnetwork.com/site/nav/d2.php");
}
elseif ($page=="") {
include ("http://www.themobnetwork.com/site/nav/nav.php");
}
else {
include ("http://www.themobnetwork.com/site/nav/nav.php");
}
?>
Now I want it to that the cs nav will load with every cs page so cs-home, cs- roster etc now I was thinking somthing like if ($page=="cs-*") but I am still fairly noob with php and learning. so if anyone could help me out. that would be amazing..
thank you ahead of time
a little help with php nav
Moderator: General Moderators
ok that would be great, add me to msn, bigdrakar@hotmail.com I don't realy use icq or yahoo anymore, but if thats all u have I will boot up the old gal again.
thank you for all your help
thank you for all your help