Ver Mensaje Individual
  #5 (permalink)  
Antiguo 27/04/2011, 13:14
Kronox
 
Fecha de Ingreso: noviembre-2008
Mensajes: 21
Antigüedad: 15 años, 5 meses
Puntos: 0
Respuesta: Insertar datos solo si es mayor al día de hoy

Me esta tirando este error en la syntax:

Código PHP:
        mysql_query("UPDATE eventos 
                    SET id = '$eid',
                        name = '$name',
                        start_time =  '$time',
                        location =   '$location',
                        city =  '$city'
                    WHERE DATE(start_time) >= DATE(NOW()"
)
        or die(
mysql_error()); 
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7

Lo he estado repasando, pero nada...