IFRAME Contents

admin

Administrator
Staff member
I'm writing a HTML editor using an IFRAME (so that the user sees the final result and doesn't have to worry about tags). The user is running IE and will be the only user for this admin system, so browser compatibility is not an issue.

I get the page contents as HTML data in PHP, from the database, and I need to insert it into the IFRAME.

I would like to do this via HTML as opposed to using the IFRAME.write method - is it possible. A call to write could end as an exteremely long line of code if the page contents are many, and splitting the text into lots of string concatenations seems a bit inelegant.

Any suggestions?
 
Back
Top