Posted by Jerry Stuckle on 09/21/05 00:28
Joseph S. wrote:
> Hi,
> How do I pass a string from one call to a php block to another call in
> the
> same page but from another form?
>
> Here's my full php code:
>
<code snipped>
>
> How do I get the value I stored into $s in case '1', when execution
> moves to case '2'?
>
> Any help is greatly appreciated.
> Thanks in advance.
> Joseph S.
>
How about placing it in the $_SESSION array? Start the session at the
beginning of the page and store $s in $_SESSION['s']. Then pull it out
on the second call. (Be sure to clear $_SESSION['s'] on first call to
the page).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|