convert to caps php code example
Example 1: php string to uppwe
$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
// THIS IS LOWER CASE
Example 2: strtoupper
<?php
echo strtoupper("Hello WORLD!");
?>
$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
// THIS IS LOWER CASE
<?php
echo strtoupper("Hello WORLD!");
?>