Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/09/2008, 00:01
Chicoblog
 
Fecha de Ingreso: julio-2007
Ubicación: Por ahi...
Mensajes: 84
Antigüedad: 16 años, 10 meses
Puntos: 0
Pregunta Problema con Switch y Bucle

Hola...

Tengo el siguiente problema:

Código:
<?
switch ($_GET["pml"]){
for($f=1;$f<=$pml;$f++)
{
 case $f;
  $incluir = 'web/pml/'.$f,'.php';
    $titulo = ' - Portfolio';
    break;
}
}

?>
Parse error: syntax error, unexpected T_FOR, expecting T_CASE or T_DEFAULT or '}' in :shock: on line 3

En la linea 3...

Alguien tiene ideas ? :shock:

Gracias de antemanos :B

Saludos.