how can we return the result on the iframe with page filled inside the iframe container.
<form action="what.php" method="POST">
<center><input type="text" name="search"/><br/>
<input type="submit" value="Search google" name="submit">
</center></form>
<?php if (isset($_POST['submit']))
{
$a = '<iframe width="500" height="400" src="http://www.google.com/search?q='.$_POST['search'].'"></iframe>';
echo htmlentities($a);
echo $a;
}
?>
overload:auto didn't worked, What can get to display the result of i am feeling lucky through google search on my iframe :) pardon my ignorance if i am asking a silly question