php str to uppercase code example
Example 1: php change sting to caps
$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
Example 2: strtoupper
<?php
echo strtoupper("Hello WORLD!");
?>
$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
<?php
echo strtoupper("Hello WORLD!");
?>