passing variables from one form to another
| From: | Don | Date: | Thu, 15 Mar 2001 21:09:27 +0000 |
| Subject: | passing variables from one form to another | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44132@lists.php.net to get a copy of this message | ||
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