I have got a problem that is driving me mad! I have a form on a page (with no frames). The user enters a keyword, and the form sends the keyword to search.php. This searches a database and prints the results of the search (which happen to include a hyperlinks). Fine - this all works perfectly.
My problem is that I want the results to be printed into (the body of) a frameset, so the user can click on any hyperlinks in the results and go off to other sites, but still have some buttons (in my nav frame) to go back to database search facilities.
What I have tried is defining search.php as the body of a frameset. OK, the results are printed, but the complete frameset is not opened.
I then included JS
if (top.location == self.location)
{self.location.replace ("frameset.htm")}
The complete frameset now opens, but search.php is now REloaded, (and has "forgotten" what the keyword was) and doesn't show the correct search results.
I would be very grateful to hear any ideas how I can solve this one!
Cris