I'm using this query in phpmyadmin and work perfect
UPDATE TABLE SET DETALLE = 'PENDING FOR TODAY' where DATE(FECHA) = DATE(NOW());
but if I do the same from PHP
$sql= "UPDATE TABLE SET DETALLE = 'PENDING FOR TODAY'
where DATE(FECHA) = DATE(NOW())
$resultado = mysql_query($sql) or die ("error");
Is not doing anything, if any problem with DATE() from php?