Page 1 of 1

iframe

Posted: Sun Dec 05, 2004 6:33 pm
by SidewinderX
how do i display $text in an iframe?

Posted: Sun Dec 05, 2004 6:50 pm
by kettle_drum

Code: Select all

<?php
echo $text;
?>
But this needs to be in the page that the iframe loads. If not you will need to use javascript to hide the value of $text on the main page, and then display this on the iFrame page using javascript.