Page 1 of 1

converting to upper case?

Posted: Sun Nov 03, 2002 6:31 am
by DynamiteHost
how would I convert $var to upper case?

Any help is appreciated, thanky :D

Posted: Sun Nov 03, 2002 6:39 am
by PaTTeR

Code: Select all

$upString = strtoupper($oldstring);
http://www.php.net/manual/en/function.strtoupper.php

Posted: Sun Nov 03, 2002 6:58 am
by DynamiteHost
Thanks, that works a charm 8)