Re: [PHP] Re: Passing variable to a page in a frameset



On 15 Aug 2008, at 19:39, Jody Cleveland wrote:
On Aug 15, 2008, at 1:22 PM, Warren Vail wrote:

Actually you may want to check back with basic html at the "target"
parameter on your search "form" statement.

HTH,

Warren Vail
Vail Systems Technology
warren@xxxxxxxxxxxx

Target won't work for me because the originating page with the search box is not part of any frameset. I'm trying to get the search results from that page to go to a page that is part of a frameset.

Are you saying that the frame you want to have the search results shown in doesn't exist when the search form is submitted? If it does then it doesn't matter where the form is, just specify the target as the name of the frame and it will almost certainly work.

If however you want the search to create the frameset when it runs then you have a completely different problem which is best solved using some sort of session. The script that handles the POST will need to store the details of the search somewhere and output the frameset. The frame that needs to contain the results would then grab the details and run the search outputting the results.

If I'm completely misunderstanding you please feel free to elaborate.

-Stut

--
http://stut.net/
.



Relevant Pages

  • Re: [PHP] Re: Passing variable to a page in a frameset
    ... Target won't work for me because the originating page with the search box is not part of any frameset. ... If it does then it doesn't matter where the form is, just specify the target as the name of the frame and it will almost certainly work. ... On each library's website there is a search box to search the catalog, which is on a completely different server from the websites. ...
    (php.general)
  • Re: [PHP] Re: Passing variable to a page in a frameset
    ... Vail Systems Technology ... Target won't work for me because the originating page with the search box is not part of any frameset. ... If it does then it doesn't matter where the form is, just specify the target as the name of the frame and it will almost certainly work. ...
    (php.general)
  • Re: Still having link problems opening in middle frame
    ... On your actual frameset page, remove the target values, then on indexleft and indexright, select ... each link and set the target value to the actual name of the middle frame, ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ...
    (microsoft.public.frontpage.client)
  • Re: [PHP] Re: Passing variable to a page in a frameset
    ... Vail Systems Technology ... Target won't work for me because the originating page with the search box is not part of any frameset. ... If it does then it doesn't matter where the form is, just specify the target as the name of the frame and it will almost certainly work. ...
    (php.general)
  • Re: [PHP] Re: Passing variable to a page in a frameset
    ... Vail Systems Technology ... Target won't work for me because the originating page with the search box is not part of any frameset. ...
    (php.general)