Search This Blog

Monday 2 February 2015

Convert the first character of "welcome" to uppercase.

The ucfirst () function converts the first character of a string to uppercase.


<?php

$a="welcome";

echo ucfirst($a);

?>