Irman Posted June 29, 2013 Share Posted June 29, 2013 Hi All I have a few links in a page which will direct to 1 page. And in that 1 page, there is a iframe link which will direct the user depending on the link attribute name from the previous page. For Example on previous_page.php, i have the following link: <a id="asia" href="next_page.php">Asia</a> <a id="europe" href="next_page.php">Europe</a> <a id="america" href="next_page.php">America</a> When selected, it will direct to the next_page.php where there will be an iframe. I've coded the iframe as follows: <iframe src="http://myurl?c=<?php echo $continent; ?>&a=PTT03353"></iframe> where $continent will be define by the previous page a tag ID. How do i achieve this? Quote Link to comment Share on other sites More sharing options...
ginerjm Posted June 29, 2013 Share Posted June 29, 2013 href='nextpage.php?place=America' and <? $_GET['place'] ?> 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.