View Single Post
Old 09-04-2005, 12:17 AM   #3
aboutautism
Green Mole
 
Join Date: Sep 2005
Posts: 4
Thanks, yes this has helped

Thank you.
The form is now posting correctly, but it still brings up the search results in a new window, I think my problem is that I am using iframes as opposed to normal frames.
My form is thus:

<form action="http://www.aboutautism.org.uk/phpDig/search.php" target="search_results_frame" method="post">
<input type="text" name="query_string" value="">
<input type="submit" name="search" value="Go">
</form>


I have set
$result['form_head'] = "<form target='search_results_frame' action='$result_page' method='post'>
in the three locations within phpdig_functions.php as suggested.

I have created a search page, search.htm which contains an <iframe> which I have called 'search' using the 'name' function.

When I submit on my test page (test.htm) I need the search to appear within the <iframe> that exists within search.htm.

Is this possible?

Thanks

Martin
aboutautism is offline   Reply With Quote