Replace <frame src="onlineview.php3"> with <frame src=<? echo $open;?>>
Variable $open is passed to the included file automatically.
> Hi!
>
> I've been blocked by this tiny problem...
>
> I have a main.php file:
>
> <?
> $frames = true;
> $open = "http://myserver.com/info.html";
> if ($frames)
> {
> include ("frameset.php");
> }
> ?>
>
> The frameset.php looks like (omitting almost all the HTML):
> <frameset rows="100,*" border="0">
> <frame src="onlineview.php3">
> <frame src="footer.html">
> </frameset>
>
> In the onlineview.php file I need to use the $open URL defined before, but
> it isn't defined here. What am I doing wrong? How can I get $open's value
> from this file?
>
> Thanks!
>
> Jaime
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]