Answers for "php ucfirst each word"

PHP
4

first letter capital of every word in php

$clientname = "ankur prajapati";
ucwords($clientname);//Ankur Prajapati
ucfirst($clientname);//Ankur Prajapati

$clientname = "ANKUR PRAJAPATI";
ucfirst(strtolower($clientname));//Ankur Prajapati
Posted by: Guest on December-02-2020
0

php first letter capital each word

echo ucwords("hello world");
Posted by: Guest on September-24-2021

Browse Popular Code Answers by Language