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

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -