Ipotizzando che la tabella si chiami "ordini" e che il campo timestamp si chiami "ordine_ts", usa questa query
codice:select * from ordini where date_format(ordine_ts, "%d/%m") = date_format(now(), "%d/%m") order by ordine_ts desc
Ipotizzando che la tabella si chiami "ordini" e che il campo timestamp si chiami "ordine_ts", usa questa query
codice:select * from ordini where date_format(ordine_ts, "%d/%m") = date_format(now(), "%d/%m") order by ordine_ts desc
Pensate i programmi a librerie, e innalzate il livello d'astrazione