$yesterday = date("d/m/Y", time()-86400);
(I have a mental block and can never rember if it is PHP or MySQL with the %Y etc.)
$yesterday = date("d/m/Y", time()-86400);
(I have a mental block and can never rember if it is PHP or MySQL with the %Y etc.)