Re: Re: Variables
| From: | Jason Reid | Date: | Sat, 29 Jun 2002 18:55:01 +0000 |
| Subject: | Re: Re: Variables | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7541@lists.php.net to get a copy of this message | ||
Or because its being passed from a querystring, make sure you pull the value
of the variable from the querystring via either $_POST['varname'] or
$_REQUEST['varname']
eg:
<?
$usuario = $_POST['usuario'];
$usuario = strtoupper($usuario);
Echo "Hola $usuario";
?>
----- Original Message -----
From: "Uwe Birkenhain" <uwe.birkenhain@berlin.de>
To: <php-install@lists.php.net>
Sent: Saturday, June 29, 2002 12:16 PM
Subject: [PHP-INST] Re: Variables
> Perhaps you should write a string into $usuario before you use strtoupper
> ...?
>
>
> milton@ucol.mx schrieb in Nachricht
> <1025373764.3d1df6450379d@webmail.ucol.mx>...
> >I have W2k and IIS 5.0 but i have a problem:
> >
> >PHP don't cach the values of the form:
> ><?php
> >$usuario = strtoupper($usuario);
> >Echo "Hola $usuario";
> >?>
> >
> > This only print "hola" What happend?
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>