Non sembra funzionare, mi restituisce un NULL.
Che sia perchè il campo è in formato TIME e non in TIMESTAMP?
Comunque ho risolto con:
Codice PHP:
substr($orario,0,-3)
Non sembra funzionare, mi restituisce un NULL.
Che sia perchè il campo è in formato TIME e non in TIMESTAMP?
Comunque ho risolto con:
Codice PHP:
substr($orario,0,-3)