convert a string to uppercase with php

use this function to convert a lower case or sentence case string into its uppercase form


$string = "moo";
$string_uppercase = strtoupper($string);
echo $string_uppercase;

Other Items in php
Page Views

This page has been viewed 160 times.

Search Code
Search Code by entering your search text above.

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.


Random Quote
I believe that success can be measured in the number of uncomfortable conversations you're willing to have.