DarkSuperHero Posted January 10, 2009 Share Posted January 10, 2009 how would i go about targetting an iframe, to submit information that was filled in, outside of the iframe ? Quote Link to comment Share on other sites More sharing options...
bubbasheeko Posted January 10, 2009 Share Posted January 10, 2009 <iframe src="http://www.whateverthepage.com?option=" . <? echo $_POST['whatever']; ?> . ""> Then in the iframe use $_GET to grab the variable data for the iframe. I think I read somewhere that you should use $_REQUEST['whatever'], but I am not positive on that one. Quote Link to comment Share on other sites More sharing options...
corbin Posted January 10, 2009 Share Posted January 10, 2009 <iframe name="someframe" src="http://somesite.com/"> <form action="/" target="someframe" method="POST"> <!--normal form stuff here--> </form> Quote Link to comment 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.