Monday, October 27, 2008

How to convert a string into a lowercase letters (simple letters) using php

Following code will show you how to convert a string of letters into lowercase(simple) using php strtolower() function.


<?php

$my_string = "This STRING has UPPERCASE letters";
$my_string = strtolower($my_string);
echo $my_string;

//Output: this string has uppercase letters

?>



Get Free Sinhala IT Learning Videos Kuppiya.com

 Subscribe To My Blog

No comments:

Post a Comment