I have not used PHP before (or at all), and I have the following code:
<?php
$val = $_GET['ID'];
echo "<iframe src='sitename.com.au/directory/app/pagename.cfm?memberid='$val' width='100%' scrolling='vertical'></iframe>";
?>
I think that it should be good to take the URL variable and pass it to the iframe url ... my problem is that when I click on the page, it means instead:
http://sitename.com/whats-on?ID=2
his
http://sitename.com/whats-on/?ID=2
I don’t know where is the slash before /? The identifier comes, but I believe this is causing my problem - iframe displays a message not found by the page.
Any advice is appreciated.
thank
Simon
source
share