How do I make the contents of a string lower case?
This is through using the strtolower function like this:
<?php
$mystring = "I DON'T LIKE SHOUTING!";
echo strtolower($mystring);
?>
Prints: "i don't like shouting!";
Comment on this Question and Answer >>>
ASK A QUESTION
More strings PHP Questions
How do I make the first letter of each word upper case?How do I reverse a string in PHP?
How do I calculate the metaphone of a string?
How do I remove trailing whitespace from a string?
Hello, Is it possible to specify a character-encoding in the filter_var function. Thank you for your reply, Jan
