Return to Snippet

Revision: 26846
at May 13, 2010 05:00 by eme_dlr


Initial Code
$buscar_fecha = "SELECT * FROM items WHERE DATEDIFF('$hoy', fecha) > '$fecha_buscada'";
$encontrados = array();
while ($items = mysql_fetch_array($buscar)){
echo('<br />Fecha: '.$items['fecha']);
}

Initial URL

                                

Initial Description

                                

Initial Title
Select items within time range

Initial Tags
php, date

Initial Language
PHP