Posts by Cido Oliveira • 1 point
1 post
-
0
votes2
answers32
viewsA: sql return php data
You’re comparing datetime when you use campo = now() you are comparing date and time. Try to give a date() in the fields of your select so: "SELECT * FROM vendas WHERE date(dataCompra) =…