| Viewed 255 times

How to uppercase first letter of each word in PHP


How to uppercase first letter of each word in PHP

PHP
1 Answer
Mohammad Qandeel
Answered
8

You can use ucwords() function to uppercase the first letter of each word in PHP

Example 

ucwords('easy way to uppercase it);

Output

Easy Way To Uppercase It



Related Questions