Jump to content

Archived

This topic is now archived and is closed to further replies.

SCook

Accessing query vars from an iframe

Recommended Posts

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.

Share this post


Link to post
Share on other sites
can you not place them in the url that specifies the file to display in the iframe?

Share this post


Link to post
Share on other sites
Place them in the url of the iframe if you absolutely insist on using iframes. They are a serious design faux pas.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.