How to convert a string to lowercase in PHP
strtolower()
You can use the PHP strtolower() function to convert a string to lowercase.
Let's check out the following example to understand how this function actually works:
<?php $my_str = 'The Quick Brown Fox Jumps Over The Lazy Dog.'; echo strtolower($my_str); ?>
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Use the PHP
strtolower()functionYou can use the PHP
strtolower()function to convert a string to lowercase.Let's check out the following example to understand how this function actually works:
need an explanation for this answer? contact us directly to get an explanation for this answer