|
Posted by Matthew Weier O'Phinney on 07/18/05 22:24
* George B <geoizil@gmail.com>:
> Lets say I have a form. And when user types in the form and clicks go,
> it shows output.
> but.
> lets say the person type in
> monday
> But I want the php code to change it too
> MONDAY
> how do I do that?
The PHP manual is your friend, if you know what to look for. You're
manipulating a string, so look in the 'Strings' section of the manual
(http://php.net/strings). Then look for words like 'case' or 'upper',
and you'll find:
strtoupper - Make a string uppercase
Enjoy!
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
Navigation:
[Reply to this message]
|