RE: [PHP] IFRAMES & PHP
| From: | John W. Holmes | Date: | Mon, 27 Jan 2003 17:26:30 +0000 |
| Subject: | RE: [PHP] IFRAMES & PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133264@lists.php.net to get a copy of this message | ||
> Here's the basic layout of my html page, this isn't the real html,
just
> the
> basic idea.
>
> <html>
> <form action="test.php" method="post">
> <input type="text" name="test1">
>
> <iframe src = iframetest.php></iframe>
>
> <input type="button" label="Submit">
> </form>
> </html>
>
> Now inside iframetest.php I have a few check boxes that I want
test.php to
> be able to access. Is there any way to do this?
If you set a hidden form element in iframetest.php, does it show up when
you do a print_r($_POST) in test.php ?
It's probably an HTML thing. I don't know how iframes are interpreted,
but it's probably not really a part of your form, even though it looks
like it is when you view it.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/