echo date_format($riga[data],'%d/%m/%Y')
Ricevo il seguente errore:
Warning: date_format() expects parameter 1 to be DateTime, string given in..
il campo data è un datetime nel mio db
Qualche suggerimento?
ciao
echo date_format($riga[data],'%d/%m/%Y')
Ricevo il seguente errore:
Warning: date_format() expects parameter 1 to be DateTime, string given in..
il campo data è un datetime nel mio db
Qualche suggerimento?
ciao