PHP strtolower() Function

The strtolower() function is used to convert a all string to lowercase.

Demo :



Type Text  

Example :

Ask your questions like : What is PHP ?

If you need to convert string to lowercase letter following code useful to you.


<?php
  $stringTOlowercase = "What is PHP";
  $result = strtolower($stringTOlowercase);
  echo $result;
?>

In the above code is used to convert string to lowercase. The 'What is PHP' this string stored in $stringTOlowercase variable.Then strtolower() function is convert "What is PHP" letter to "what is php" letter.

Free Download Script :

If you need strtolower() function click and download from following link.

Download




Content