Placing an echo command within an iFrame
-
Hi all,
I am trying to place the info from my admin, into an iframe.
The section I have in admin has been given the name tabswebsite and to call that into the page, I’m using:
<?php $facebooktabswebsite = get_option('tabswebsite'); ?>
Then I have my iFrame, which is working fine with the URL added directly into it, like this:
<iframe src ="https://tabs.moonworks.co.uk" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
However, as soon as I try to use add the info from above, I get a problem:
<iframe src ="<?php echo $facebooktabswebsite; ?>" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="background:#fff" align="center" width="512" height="4000"></iframe>
This is the error message I get:
The requested URL /wp-content/plugins/facebook-tabs-for-wordpress/< was not found on this server.
- The topic ‘Placing an echo command within an iFrame’ is closed to new replies.