php - Concatenating data and text on select mysql -
fellows,
i'm using php , code:
select date_format(data,'%d/%m/%y'' às ''%h:%i:%s') data infografico group data
displays this:
(última atualização: 22/09/2016' às '09:37:16)
the question is: how can ' doesn't appear?
you need 1 single quotation mark @ beginning , end
select date_format(data,'%d/%m/%y às %h:%i:%s')
Comments
Post a Comment