Posts by Pinheiro Sousa • 11 points
1 post
-
1
votes4
answers10471
viewsA: How to capitalize the first letter of each word?
Use this function I created function maiuscula($string) { $string = mb_strtolower(trim(preg_replace("/\s+/", " ", $string)));//transformo em minuscula toda a sentença $palavras = explode(" ",…
phpanswered Pinheiro Sousa 11