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 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. 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. 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
Archived
This topic is now archived and is closed to further replies.