I am trying to get a search form(.html) to send its MySQL query results(.php) to a frame in a frame page.
If I use
Code:
<form method="post" action="resultsframe.htm">
I get a (405)Method Not Allowed
The requested method POST is not allowed for the URL /resultsframe.htm. error.
The code below just replaces the search page with the query results in the same original window.
Can I tweek it to make it display the query results in a frame page?
Code: Select all
<form method="post" action="query.php" target="resultsframe.htm" onSubmit="resultsframe.htm">I thought it might be a logic problem. Like maybe you cant post to a frame itself, you have to post to an actual page. Is there a way to route the post through the frame url to the .php query page url?
Thanks for any advice. Virgil