PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

add search bar in the webpage

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • add search bar in the webpage

    how do i add it in my webpage the search bar which u have made in search.php

    and
    the result get displayed on the search.php

    plz help me

  • #2
    You can have a search function on each page in a search bar. You need a HTML form that points to the search.php script. An example of this can be seen on our home page, http://www.wrensoft.com/

    The code looks like this for the PHP version,
    Code:
    <form method="GET" action="search.php">
      <input type="text" name="zoom_query" size="10">
      <input type="submit" value="Search">
    </form>
    The user guide covers the process in more detail,
    http://www.wrensoft.com/zoom/usersguide.html
    In particular see section, 5.8. "How can I add a search form to my menus, main page, etc.?"

    If you still have a question after reading the the users guide, please let us know.

    ---
    David

    Comment

    Working...
    X