Include an url with a variable

Hi all,

I’m attempting to modify a script that loads an empty page with an iframe in it. This iframe is used to load a specific page like this:

<iframe name=\\"HTMLMessage\\" style=\\"width: 100%; height: 600px; margin: 0px; padding: 0px; border: 0px\\" src=\\"".$config[PREF_PUBLIC_URL].$config[ENDUSER_ARCHIVE_FILENAME]."?view=html&id=".$result["message_id"]."\\"></iframe>

I think this iframe is completely unnecessary and I would just like to load the page in stead.

I tried copying the code from the iframe source to an include (“source”); thingy, but as I was afraid of that didn’t work.

How can I load the page within the iframe in stead of the iframe?

Thanks in advance,

Okay, nevermind, I was able to change the link that referred to this page to use the iframe src as the href. :wink:

Thanks anyway.