You must use php, you cant do that with html only. Simple example that i made:
PHP Code:
<html>
<head>
<title>Iframe testing</title>
</head>
<body>
<form action="#" target="window">
<input type=button value="Back" onClick="javascript:history.go(-1)">
<input type=button value="Refresh" onClick="history.go()">
<input type = "button" value = "Forward" onClick = "window.history.go(1)">
</form>
<form action="#" method="get">
<input type="text" name="url" size="10">
<input type=submit value="Go">
</form>
<?php
$page = $_GET['url'];
?>
<iframe name="window" src="<?php echo $page;?>"></iframe>
</body>
</html>
Hope this helped
Bookmarks