return search results on same page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PI

    return search results on same page

    Hi guys,
    I'm struggling with this much longer than I think I need to, I guess
    you could help me here:
    How do I make the results of a search display on the same page as the
    search, sort of beneath the 'submit' button? Thanks for helping out.

    Regards,
    Ire

  • Noozer

    #2
    Re: return search results on same page


    "PI" <ire.ogunsina@g mail.comwrote in message
    news:1184835456 .874440.142860@ g12g2000prg.goo glegroups.com.. .
    Hi guys,
    I'm struggling with this much longer than I think I need to, I guess
    you could help me here:
    How do I make the results of a search display on the same page as the
    search, sort of beneath the 'submit' button? Thanks for helping out.
    The target of the form is the same page. You check the page to see if data
    was submitted to it and display the results when necessary.

    In other words, you reuse the same page.

    Anything more than that involves client side scripting.


    Comment

    • Richard

      #3
      Re: return search results on same page


      "PI" <ire.ogunsina@g mail.comwrote in message
      news:1184835456 .874440.142860@ g12g2000prg.goo glegroups.com.. .
      Hi guys,
      I'm struggling with this much longer than I think I need to, I guess
      you could help me here:
      How do I make the results of a search display on the same page as the
      search, sort of beneath the 'submit' button? Thanks for helping out.
      >
      Regards,
      Ire
      Does this make sense:
      "The search page is a results page with 0 results (or: no query).
      The results page is the same page, only with more than 0 results."

      Richard.



      Comment

      • Sanders Kaufman

        #4
        Re: return search results on same page

        Richard wrote:
        "PI" <ire.ogunsina@g mail.comwrote in message
        news:1184835456 .874440.142860@ g12g2000prg.goo glegroups.com.. .
        >
        >>Hi guys,
        >>I'm struggling with this much longer than I think I need to, I guess
        >>you could help me here:
        >>How do I make the results of a search display on the same page as the
        >>search, sort of beneath the 'submit' button? Thanks for helping out.
        >>
        >>Regards,
        >>Ire
        >
        >
        Does this make sense:
        "The search page is a results page with 0 results (or: no query).
        The results page is the same page, only with more than 0 results."
        Yeah, it does. It means that when the user first hits the page, it
        performs an empty search.

        Not the best architecture in the world, but if it works it works.


        Comment

        • Richard

          #5
          Re: return search results on same page


          "Sanders Kaufman" <bucky@kaufman. netwrote in message
          news:jS9oi.5079 9$5j1.15798@new ssvr21.news.pro digy.net...
          Richard wrote:
          >"PI" <ire.ogunsina@g mail.comwrote in message
          >news:118483545 6.874440.142860 @g12g2000prg.go oglegroups.com. ..
          >>
          >>>Hi guys,
          >>>I'm struggling with this much longer than I think I need to, I guess
          >>>you could help me here:
          >>>How do I make the results of a search display on the same page as the
          >>>search, sort of beneath the 'submit' button? Thanks for helping out.
          >>>
          >>>Regards,
          >>>Ire
          >>
          >>
          >Does this make sense:
          >"The search page is a results page with 0 results (or: no query).
          >The results page is the same page, only with more than 0 results."
          >
          Yeah, it does. It means that when the user first hits the page, it
          performs an empty search.
          >
          Not the best architecture in the world, but if it works it works.
          >
          It performs "no query" the first time the page loads.

          It was sort of a hint that the results and the search are in the same file,
          not that it searches every time the page loads...

          Richard


          Comment

          Working...