Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

convert all text in php to uppercase

<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtoupper($str);
echo $str; // Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
?>
Source by tutorialspoint.dev #
 
PREVIOUS NEXT
Tagged: #convert #text #php #uppercase
ADD COMMENT
Topic
Name
1+1 =