SCook Posted March 16, 2006 Share Posted March 16, 2006 Hi all,I need to get values in a query string. I call a page, showcase.php?cat=1&subcat=2 let's say. Well, in showcase.php, I have an iframe which needs these vars too. What's the best way to do this? I think I could put them again in the src file call on teh iframe tag, this just occurred to me, but I'd like another way if possible. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/5112-accessing-query-vars-from-an-iframe/ Share on other sites More sharing options...
ToonMariner Posted March 16, 2006 Share Posted March 16, 2006 can you not place them in the url that specifies the file to display in the iframe? Quote Link to comment https://forums.phpfreaks.com/topic/5112-accessing-query-vars-from-an-iframe/#findComment-18139 Share on other sites More sharing options...
txmedic03 Posted March 17, 2006 Share Posted March 17, 2006 Place them in the url of the iframe if you absolutely insist on using iframes. They are a serious design faux pas. Quote Link to comment https://forums.phpfreaks.com/topic/5112-accessing-query-vars-from-an-iframe/#findComment-18201 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.