Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/02/2008, 15:25
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Controlar fecha null de mysql

En ese caso prueba esto:
Código PHP:
if( ( $row['DespFecZarpe'] == "00-00-0000" ) || ( $row['DespFecZarpe'] == "null" ) ) {
   
// vacia
} else {
   
// no vacia

Saludos.