Can't POST to a Frame
Posted: Wed Jun 19, 2002 10:39 pm
Hi
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
I get a 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?
The frames page has query.php set as its source(src=query.php).
Thanks for any advice. Virgil
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: Select all
<form method="post" action="resultsframe.htm">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">Thanks for any advice. Virgil