RE: [PHP] passing variables from one form to another
| From: | ..s.c.o.t.t.. [gts] | Date: | Thu, 15 Mar 2001 22:16:10 +0000 |
| Subject: | RE: [PHP] passing variables from one form to another | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44147@lists.php.net to get a copy of this message | ||
the same way that you passed information over to the second page.
> -----Original Message-----
> From: Don [mailto:don@lclcan.com]
> Sent: Thursday, March 15, 2001 4:09 PM
> To: php list
> Subject: [PHP] passing variables from one form to another
>
>
> Hi,
>
> I have a PHP script (script_one.php) that creates a small form
> containing a table of links. In my script I declare an array,
> $myarray[$total_links], of the same size as the number of links. Each
> link is coded as such:
>
> <a href="../phpscript/script_two.php?myvar=' . $myarray[$i] .
> '&element=' . $i . '">
>
> This way, I pass the both the value of my array at elemnt "i" and which
> element I am accessing to my second script. This second script opens a
> new window and creates another small form with an input field. I allow
> the user to enter information into an text field and close the window.
>
> Question: How do I pass the results of that information back to my
> original script and stuff it into the array at the element chosen?
>
> Thanks,
> Don