GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I need help to convert to UPPERCASE please..:) (https://gfy.com/showthread.php?t=440288)

MichaelP 03-05-2005 11:31 AM

I need help to convert to UPPERCASE please..:)
 
Hi guys. It's been a while that I haven't played with avascript...

I think that there is a code that does what I want

Let's say I have a variable in PHP ex : <? print $GET_[mytext]; ?>

This variable contains UPPER and lower case caracters, I can't change it cause at some place, I need it that way. but, at another place, I want to display it all in UPPERCASE...

Is it possible ?

Thanks forward

ssp 03-05-2005 11:33 AM

http://nl2.php.net/manual/en/function.strtoupper.php

ssp 03-05-2005 11:35 AM

So:

Code:

<?php
print strtoupper($_GET[mytext]); ?>
?>


quantum-x 03-05-2005 11:35 AM

add 0x20h to each character's ascii value.

MichaelP 03-05-2005 11:39 AM

Man this os too easy..

I looked all over the place to find something on PHP.net, but I didn't knew this function name...


Thanks a million guys :) :thumbsup

ssp 03-05-2005 11:42 AM

Quote:

Originally Posted by qwebecexpo
Man this os too easy..

I looked all over the place to find something on PHP.net, but I didn't knew this function name...


Thanks a million guys :) :thumbsup

Anytime, good luck with your project. :winkwink:


All times are GMT -7. The time now is 08:12 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123