View Single Post
  #2 (permalink)  
Old 11-22-2006, 03:48 AM
gamecharmer gamecharmer is offline
Junior Member
 
Join Date: Nov 2006
Location: The Abyss.....
Posts: 56
Send a message via AIM to gamecharmer Send a message via MSN to gamecharmer Send a message via Yahoo to gamecharmer
Ok.

Are you coding these pages in PHP or HTML? (or something else)

If you're coding them in PHP, you'll wanna do something like this

Code:
Function Page1(Variables) {
Content
}
Function Page2(Variables) {
Content
}
Function Page3(Variables) {
Content
}

//-----------Switches----------
switch ($DID) {
  default:
    Page1 (variables);
  break;
  case "Page2":
     Page2 (variables);
  break;
  case "Page3":
    Page3(variables);
  break;
  }

and everything "can" be contained within 1 PHP file.
Reply With Quote