I have a word default and I want a php function to make only first letter capital. Can we do that. Please help me out as I am very new to php coding.
default
You may want to use ucfirst().
For multibyte strings, please see this snippet.