I've not used PHP much (or at all) before, 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 should be ok to take a URL variable and pass it to an Iframe url...my issue is that when I hit the page this is on instead of it being:
http://sitename.com/whats-on?ID=2
its
http://sitename.com/whats-on/?ID=2
I don't know where that slash before /?ID is coming from - but I believe it is causing my problem - the iframe displaying a page not found message.
Any advice appreciated.
Thanks
Simon