Re: passing variables through frames
| From: | Edwin Boersma | Date: | Sat, 01 Feb 2003 16:39:26 +0000 |
| Subject: | Re: passing variables through frames | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25317@lists.php.net to get a copy of this message | ||
It's better to use <input type=hidden name=... value...>, because my experience is that it does not work with passing them in the "action"-option of form. This is the case if u have other input boxes, at least I think it is. If u don't have other input fields, just use <a href=url.php?var1=.... etc.
Edwin
Matt wrote:
It basically just looked something like this: <form method='POST' action='url.php?var1=$var1&var2=$var2'> You just post the variables you want to pass throught the url string. It is pretty simple. "Stefan Panayotov" <stefanp@bsc.bg> wrote in message news:20030131125433.1951.qmail@pb1.pair.com...And how does it work? -- "Matt" <mpalermo@vt.edu> wrote in message news:20030131054735.16667.qmail@pb1.pair.com...aNevermind everyone... I found out. Thanks "Matt" <mpalermo@vt.edu> wrote in message news:20030131052359.9755.qmail@pb1.pair.com...Does anyone know how to pass a variable to a different frame? Forexample,I have a navigation frame, and when you click a link, it opens insidevariablesdifferent frame. Can anyone tell me if there is a way to passfrom the navigation frame to the main frame? Thanks a lot. Matt