Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/08/2005, 03:58
rockero666
 
Fecha de Ingreso: julio-2004
Mensajes: 51
Antigüedad: 19 años, 9 meses
Puntos: 0
hola alguien podria decirme q error da? y como se soluciona

hola tngo una pagina llamada tutoriales.php
Código PHP:
<body bgcolor=000000>
<?php include('header.php');?>
<table cellspacing=0 align=center bgcolor=FF9C00 cellpadding=0>
<tr>
<td width=165 valign=top><?php include('menu.php');?></td>
<td width=595 valign=top align=center><?php include('regvartut.php'); include($secc);?>
</td>
</tr>
</table>
<?php include('footer.php');?>
</body>
y la regvartut.php es esta
Código PHP:
<?php 
switch ($secc
{
case 
"categorias"$secc "tutcategorias.php";
break;
case 
"vertut"$secc "tutver.php";
break;
case 
"vertuts"$secc "tutsver.php";
break;
default: 
$secc "error404.php";
}
?>
y no entiendo porque me sale siempre la default si todas las q e puesto hay las tngo subidas pro no m las incluye alguien sabria resolverme esto?
ej : http://newstyle-designs.shinranet.co...ecc=categorias y me sale la default porque?