Re: php variable
| From: | Scott Fletcher | Date: | Mon, 13 Oct 2003 21:31:50 +0000 |
| Subject: | Re: php variable | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166024@lists.php.net to get a copy of this message | ||
Should also work if you use the POST method...
"Comex" <ng@xemoc.cjb.net> wrote in message
news:20031013180100.75434.qmail@pb1.pair.com...
> <20031013144218.59607.qmail@pb1.pair.com>
> Onno Kuipers:
> > Jay Blanchard wrote:
> >> [snip]
> >> $var=¨How are you¨;
> >> THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
> >> [/snip]
> >>
> >> Pleace $var in a hidden form element.
> >
> > I tried... something like this
> >
> > <input type="hidden" name="var2"
> > value=¨<?php print $var2; ?>¨>
> >
> > but it doesn't work. Maybe you mean something totaly different, can
> > you show me what you mean.
>
> Should work, if not use sessions.