PHP Tutorials


How to convert the first letter of a String to lowercase in PHP

In PHP, lcfirst(string $string) is the inbuilt function to convert the first letter of a String to lowercase. And lcfirst(string […] Continue reading »

How to capitalize the first letter of a String in PHP

In PHP, we can use the inbuild ucfirst(string $string)¬†function to convert the first character of a string to uppercase. ucfirst(string […] Continue reading »