Articles → PHP → Ucwords Function In PHP
Ucwords Function In PHP
Purpose
Example
<!DOCTYPE html>
<html>
<body>
<?php
echo ucwords("all the first character of the word should be in caps");
?>
</body>
</html>
Output
Click to Enlarge
Posted By - | Karan Gupta |
|
Posted On - | Friday, October 9, 2020 |