ghurty Posted May 21, 2009 Share Posted May 21, 2009 I have a php script which has an iFrame. In the iframe there is a link. I want it that when you click on the link, it will load a whole new page. As of now, it only loads the new page in the iFrame. Thank You Quote Link to comment https://forums.phpfreaks.com/topic/159178-have-an-iframe-in-php-script-with-a-link-how-to-make-it-load-a-whole-new-page/ Share on other sites More sharing options...
ILMV Posted May 21, 2009 Share Posted May 21, 2009 This is not a PHP problem... But I think you use need to add target="_top" to the link in your Iframe, that should load links in the main page. Quote Link to comment https://forums.phpfreaks.com/topic/159178-have-an-iframe-in-php-script-with-a-link-how-to-make-it-load-a-whole-new-page/#findComment-839474 Share on other sites More sharing options...
Batosi Posted May 22, 2009 Share Posted May 22, 2009 target="_parent" will break out the iframe, I dont know if top will work or not because I never use it. Quote Link to comment https://forums.phpfreaks.com/topic/159178-have-an-iframe-in-php-script-with-a-link-how-to-make-it-load-a-whole-new-page/#findComment-839551 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.