Page 1 of 1

a problem involving iframes and php..

Posted: Sat Oct 08, 2005 10:59 am
by Charles256
the relevant php...

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>
the relevent html..

Code: Select all

<div id="nav"><a href="index.php?page=testing" target="content">testing</a></div>
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]