Answers for "every word capitalized in php"

PHP
6

php uppercase each word

$upperCaseSentance=ucwords("i do not feel good");//I Do Not Feel Good
Posted by: Guest on July-30-2019
1

Capitalize in php

<?php
$foo = 'bonjour tout le monde!';
$foo = ucfirst($foo);             // Bonjour tout le monde!

$bar = 'BONJOUR TOUT LE MONDE!';
$bar = ucfirst($bar);             // BONJOUR TOUT LE MONDE!
$bar = ucfirst(strtolower($bar)); // Bonjour tout le monde!
?>
Posted by: Guest on June-12-2021

Code answers related to "every word capitalized in php"

Browse Popular Code Answers by Language