capitalize letter in php code example
Example 1: strtoupper
<?php
echo strtoupper("Hello WORLD!");
?>
Example 2: php code to convert to small letter
$str = strtolower($str);
<?php
echo strtoupper("Hello WORLD!");
?>
$str = strtolower($str);