PDA

View Full Version : add search bar in the webpage



m12habib
03-08-2005, 11:47 AM
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

wrensoft
03-08-2005, 09:05 PM
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,

<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