- Forums
- PHP
- Capitalize Every Letter In A PHP String Change To Uppercase
This Page Contains information about Capitalize Every Letter In A PHP String Change To Uppercase By wallpaperama in category PHP with 0 Replies. [1041], Last Updated: Sat May 18, 2024
wallpaperama
Wed Jun 20, 2007
0 Comments
956 Visits
uppercasing letters can add a dramatic look to your pages. they make your message stand out.
so lets say i have a string called $string, and this is the value:
$string = "wallpaperama has many amazing wallpapers for free";
i can use this code to make all letters in capital or uppercase
<?
$string = "wallpaperama has many amazing wallpapers for free";
echo strtoupper($string);
?>
and this would be the output:
WALLPAPERAMA HAS MANY AMAZING WALLPAPERS FOR FREE