Anithing like this ?

September 14, 2003 by carlos macias

Its's possible and very easy. Look it...

<?php
switch ($table){
case "1":
include("page1.php");
break;
case "2":
include("page2.php");
break;
case "3":
include("page3.php");
break;
case "4":
include("page4.php");
break;
case "5":
include("page5.php");
break;
}
?>

Now, if you call to a page like this "index.php?table=1", page1.php will be showed, if yo call it "index.php?table=2", page2.php will be showed.
Only page selected will be loaded.

Excuse my bad english...

RE: Anithing like this ?

September 14, 2003 by Said Abdellatif Said Bakr
Thank you for your valuable comment. It's so useful. By the way, my English is bad and yours is so fine