Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/08/2004, 20:56
Avatar de sir_notos
sir_notos
 
Fecha de Ingreso: noviembre-2001
Ubicación: Mexicali
Mensajes: 709
Antigüedad: 22 años, 5 meses
Puntos: 1
Cita:
Iniciado por onores

switch($articulos){
case "IP037":
$_GET['mostrar'] = 37; //o quizas $mostar = 37;
include("articulos/masarticulos.php");
break;
default:
...
}
Saludos!
Exacto
al definir un
Código PHP:
$foo 45;
include(
'test.php'); 
la variable $foo estara "disponible" en test.ph

chekate esta parte del manual

http://php.net/variables.scope
__________________
Usuario Registrado de linux #374849