afatkidrunnin Posted March 23, 2006 Share Posted March 23, 2006 I need some help with my page content.I have a website for my clan and so I have a bunch of links, I can't create seperate pages with all the same html (wouldl be too complicated to add a new link) so I am trying out this code that makes it like a frame but not really...the code I am using is[code]<?phpswitch($id) { default: include('home.php'); break; case "aboutus": include('aboutus.php'); break; case "contactus": include('contactus.php');}?>[/code]and the url to the pages should be[code]www.teamlunchboxx.com/index.php?id=aboutuswww.teamlunchboxx.com/index.php?id=contactus[/code]and its not working rightI am having alot of trouble, please help me. Link to comment https://forums.phpfreaks.com/topic/5637-i-need-some-help/ Share on other sites More sharing options...
High_-_Tek Posted March 23, 2006 Share Posted March 23, 2006 [code]<?phpswitch($_GET['id']) { case "aboutus": include('aboutus.php'); break; case "contactus": include('contactus.php');break;default: include('home.php'); break; }?>[/code]:) Link to comment https://forums.phpfreaks.com/topic/5637-i-need-some-help/#findComment-20142 Share on other sites More sharing options...
afatkidrunnin Posted March 23, 2006 Author Share Posted March 23, 2006 [!--quoteo(post=357797:date=Mar 23 2006, 06:16 PM:name=High_-_Tek)--][div class=\'quotetop\']QUOTE(High_-_Tek @ Mar 23 2006, 06:16 PM) [snapback]357797[/snapback][/div][div class=\'quotemain\'][!--quotec--][code]<?phpswitch($_GET['id']) { case "aboutus": include('aboutus.php'); break; case "contactus": include('contactus.php');break;default: include('home.php'); break; }?>[/code]:)[/quote]omg thank you so much Link to comment https://forums.phpfreaks.com/topic/5637-i-need-some-help/#findComment-20146 Share on other sites More sharing options...
chriscloyd Posted March 24, 2006 Share Posted March 24, 2006 for a team site u could use a better site/script i have acutally made one and u could use better hosting that gives u more freedoms my aim is chriscloyd2006 my msn is [email protected] or send me a message i can help Link to comment https://forums.phpfreaks.com/topic/5637-i-need-some-help/#findComment-20199 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.