strtolower(): to change upper case chars to lower case

$val=strtolower($input_sting);
We can use strtolower() function in PHP to change all the alphabetic characters to lowercase. This simple function takes one string as input and changes the characters present inside to lower case. Here is an example code.
$my_str="Hello welcome to plus2net.com";
$my_str=strtolower($my_str);
echo $my_str;
Above code output will be
hello welcome to plus2net.com

DEMO

Output :



Subscribe to our YouTube Channel here


Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com




    PHP String Functions
    fahim

    01-01-2013

    good code

    Post your comments , suggestion , error , requirements etc here .




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2023 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer