RE: [PHP] Re: paste values for one pop-up. And this pop-up is one frame
| From: | Andre | Date: | Fri, 27 Aug 2004 12:45:49 +0000 |
| Subject: | RE: [PHP] Re: paste values for one pop-up. And this pop-up is one frame | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194925@lists.php.net to get a copy of this message | ||
Thank work.
Regards, André Caridade
-----Original Message-----
From: Torsten Roehr [mailto:roehr@zilleon.com]
Sent: sexta-feira, 27 de Agosto de 2004 13:42
To: php-general@lists.php.net
Subject: Re: [PHP] Re: paste values for one pop-up. And this pop-up is one
frame
"Andre" <andre_caridade@sapo.pt> wrote in message
news:php.general-194917@news.php.net...
>
> Yes and don't work.
>
> The code of the frameset
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">
> </head>
>
> <frameset rows="*,80" frameborder="NO" border="0"
> framespacing="0">
> <frame src="imprimir_factura.php" name="mainFrame">
> <frame src="bot.php" name="bottomFrame" scrolling="NO"
> noresize>
> </frameset>
> <noframes><body>
>
> </body></noframes>
> </html>
You have to pass the variable from the frameset to the page that will be
using the variable. Change the first <frame> line into:
<frame src="imprimir_factura.php?factura_id<?php= $_GET['factura_id'];
?>"
name="mainFrame">
Then in imprimir_factura.php you can acces the variable via
$_GET['factura_id']. This should work.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php