Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/03/2008, 11:21
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 9 meses
Puntos: 2135
Re: no me sale validacion (ningun campo es obligatorio)

Porque no cambias, en lugar de hacer asi tu if, hazlo de la siguiente forma:
Código PHP:
if(empty($_POST['file']) && empty($_POST['funcionario']) && empty($_POST['docFechaSalida']) && empty($_POST['docFechaCumplimiento'])){
        echo 
"llena algun campo";
    }else{
        echo 
"tostabien";
    } 
Saludos.