Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/03/2004, 21:48
Jordi1
 
Fecha de Ingreso: abril-2003
Mensajes: 656
Antigüedad: 21 años
Puntos: 1
bueno yo utilizaria el array $HTTP_GET_VARS
$Reg = $HTTP_GET_VARS[' Reg']

separar el taga php del resto del codigo
<?php
switch ($Reg){
case "Profesor":
include("conex.php");
$link=conexion();
include("back.php");
include("consultas.php");

Y luego el Profesor va entre comillas como todos los strings

saludos