Jump to content

afatkidrunnin

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

afatkidrunnin's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--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] <?php switch($_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
  2. 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]<?php switch($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=aboutus www.teamlunchboxx.com/index.php?id=contactus[/code] and its not working right I am having alot of trouble, please help me.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.