Monday, September 22, 2008

How to make a string all Uppercase using php - Make a word capital

Lets see how we can convert a given string into all uppercase letters using php
We can use the strtoupper() function to do the trick for us


<?php
$word = "we Love php";
$word = strtoupper($word);
echo $word; //WE LOVE PHP
?>





Get custom programming done at GetAFreelancer.com!

No comments:

Post a Comment