Show text with the first capital letter

0

I would like to know how to display data from the database, that all begin with the first letter in upper case, eg "I am good", not "I'm good" .

Is there any way to do this?

    
asked by anonymous 04.03.2018 / 17:31

1 answer

7

yes, use ucfirst

ucfirst("eu sou bom"); //Retorna "Eu sou bom"
    
04.03.2018 / 17:38