Ver Mensaje Individual
  #4 (permalink)  
Antiguo 03/03/2009, 08:35
Avatar de David
David
Moderador
 
Fecha de Ingreso: abril-2005
Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años
Puntos: 839
Respuesta: validación de formulario

Documentación: http://www.php.net/manual/es/function.empty.php

En fin:
Código php:
Ver original
  1. if (empty($nombre)) {
  2.     /* Error, no ingresó el nombre */
  3. } else {
  4.     /* Nombre rellenado */
  5. }
__________________
Por favor, antes de preguntar, revisa la Guía para realizar preguntas.