Re: Load pacific page into an iframe when entering a page?
Many thanks Naval,
Got the 1st one working fine & all links work great. This will look a lot better with links direct to a product.
But on the second one you suggested it loads the page fine, but the iframe loads the home page for the store & not the specific link?
Would it have anything to do with iframe URL being <?php echo $link;?>.
Should it be something like <?php strlen $link;?> (not sure)
Put this in the html box.
<?PHP
@$link = addslashes($_POST[link]);
if(strlen($link) == 0)
{
$link = "http://astore.amazon.co.uk/collectables-21";
}
?>
This in the frame
Not sure if there should be a space between the ; ?>
And this in the button.
Saved this page as .php
Any suggestions as to what might be wrong as this would look a lot neater.
Many Thanks.
Many thanks Naval,
Got the 1st one working fine & all links work great. This will look a lot better with links direct to a product.
But on the second one you suggested it loads the page fine, but the iframe loads the home page for the store & not the specific link?
Would it have anything to do with iframe URL being <?php echo $link;?>.
Should it be something like <?php strlen $link;?> (not sure)
Put this in the html box.
<?PHP
@$link = addslashes($_POST[link]);
if(strlen($link) == 0)
{
$link = "http://astore.amazon.co.uk/collectables-21";
}
?>
This in the frame
Not sure if there should be a space between the ; ?>
And this in the button.
Saved this page as .php
Any suggestions as to what might be wrong as this would look a lot neater.
Many Thanks.
Comment