php - i want the iframe to show only if -
i have iframe, have embedded onto production site. still working on here iframe table results
the problem don't want 1 see it, wondering there way add link look's like.
http://www.chessbook.net/zulutestingsite/index.php?option=com_chess&id=350**&result**
that way when add &result it'll show iframe below iframe
code on page
<div> <iframe src="http://users.hellzoneinc.com/eric258/preview.php" width="50%" height="300" scrolling="auto" frameborder="0" name="results"> </iframe> </div>
you should below:
<?php if(isset($_get['result']) or $_get['result'])=='your_some_value'){?> <div> <iframe src="http://users.hellzoneinc.com/eric258/preview.php" width="50%" height="300" scrolling="auto" frameborder="0" name="results"> </iframe> </iframe> </div> <?php }?>
and url should
http://www.chessbook.net/zulutestingsite/index.php?option=com_chess&id=350&result=your_some_value
Comments
Post a Comment