Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/02/2010, 05:53
Avatar de AdrianSeg
AdrianSeg
 
Fecha de Ingreso: enero-2010
Mensajes: 595
Antigüedad: 14 años, 3 meses
Puntos: 14
Respuesta: Problema include

Ruta correcta porque me muestra el contenido.

Código PHP:
 switch($_SESSION['s_rango'])
 {
    case 
1:
    echo 
"Soy el vice decano".$_SESSION['s_nombre'].", y quiero ver mi menu!";
    include(
'includes/menuvi.php');
    break; 
y si vamos al menuvi.php

Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
title>Diseño portfolio</title>
<
link rel="stylesheet" type="text/css" href="main.css" />
<
style type="text/css"

Si voy a menuvi.php directamente si funciona, lo que no entiendo es que cuando lo paso por include no va.