a problem involving iframes and php..
Posted: Sat Oct 08, 2005 10:59 am
the relevant php...
the relevent html..
any idea why that code insists on opening up a new window every time? makes no damn sense...could be just the set up of my server or something??[/list]
Code: Select all
<div id="mainbody">
<?php
echo ("<iframe src='".$page.".php' width='100%' height='470px' scroll='yes' border='0' name='content'>You need to enable frames to view this site. Thank you.</iframe>");
?>
</div>Code: Select all
<div id="nav"><a href="index.php?page=testing" target="content">testing</a></div>