Re: Re: paste values for one pop-up. And this pop-up is one frame
| From: | Torsten Roehr | Date: | Fri, 27 Aug 2004 12:41:39 +0000 |
| Subject: | Re: Re: paste values for one pop-up. And this pop-up is one frame | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194922@lists.php.net to get a copy of this message | ||
"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