Hello, the code below is a simple search page that allows me to search on imdb.com and google images in one go, but I have a few small problems with it. 1) The code only works when the "Search" button is clicked, but doesn't work when the "Enter" key is pressed. 2) The searching only seems to work with Internet Explorer, but not with FireFox. With FireFox only the first frame is visible, but not the imdb website. 3) I'd like to have a small gap between the two frames, but it doesn't work no matter where I put <.br> in the code. Is there anybody here who can help me with that? Thank you. [code]<html> <head> <title> Search Page </title> </head> <body bgcolor="#003399"> <center> <form action="<?php echo($PHP_SELF); ?>" method="POST"> <font color="#FFFFFF"><strong>Movie Search:</strong></font> <input type="text" name="queryORIGINAL"> <input type="submit" value="Search" name="submit"> </form> <?php $submit = $_POST['submit']; If ($submit) { $queryORIGINAL = $_POST['queryORIGINAL']; str_replace(" ", "+", $queryORIGINAL); echo "<iframe src=\"http://www.imdb.com/find?q=$queryORIGINAL&l;tt=on;nm=on;mx=20\" width=\"90%\" height=\"90%\">"; } ?> <?php $submit = $_POST['submit']; If ($submit) { $queryORIGINAL = $_POST['queryORIGINAL']; str_replace(" ", "+", $queryORIGINAL); echo "<iframe src=\"http://images.google.com/images?svnum=100&hl=en&lr=&imgsz=small%7Cmedium%7Clarge%7Cxlarge&safe=off&q=$queryORIGINAL+poster\" width=\"90%\" height=\"90%\">"; } ?> </center> </body> </html>[/code]