4
Answers

Make first character in uppercase of an array element in PHP

Hi friends

I have a problem, problem is that I have an array in php like as :


$arr=array("ram","mohan","shyam","vineet");


I want to first character of every word will be in upper case ? Please tell me anyone ,how to do this ?

Please help me ?





Thanks

Answers (4)