Ver Mensaje Individual
  #6 (permalink)  
Antiguo 06/10/2005, 16:14
Avatar de leoj90
leoj90
Usuario baneado!
 
Fecha de Ingreso: agosto-2005
Mensajes: 1.365
Antigüedad: 18 años, 8 meses
Puntos: 0
Jaja, ok, con php se hace asi:
Código:
<?

switch ($Seccion) {

case 'Enlaces':
include("enlaces.php");
break;

case 'Banners':
include("Banners/index.php");
break;

case 'Contactame':
include("contacto.php");
break;

default:
include("principal.php");
break;

}

?>
Es parecido a un include, pero mejor. Los links son: ?VARIABLE=SECCION, ejemplo: ?Seccion=Contactame