We can change first character of any string to upper case letter by using ucfirst() string function
Here is an example
$ar="welcome to plus2net php section";
The output is here
Welcome to plus2net php section
To make first character of all words to upper case by ucwords()function.
Be the first to post comment on this article :