2
I don’t know what I’m doing wrong. in this code below was to show me the list of records with the dates that entered the 3 days house to win only that there are coming records that have already won
$cmd = "SELECT f.*,a.* FROM a_finan AS f
INNER JOIN agenda_saidas AS a
ON a.id_saida = f.id_saida
where a.id_transfer1 = '$id_transfer' AND f.id_transfer =
'$id_transfer' AND f.status_servico = 'pend'
**AND a.start <= DATE_ADD(now(), INTERVAL 3 DAY)**
";
exe:hoje é **06-06-2015**
Tenho registros de 04-06-2015
05-06-2015
06-06-2015
07-06-2015
08-06-2015
09-06-2015
a Consulta teria que me mostar só os dias 06 , 07 e 08
Currently it is returned to me until due dates 04 and 05. How could I fix this?