The website I'm working on needs a search form. Here's the form code from the template: How can I revise this so that it works or can anyone give me/direct me to a search form script that will work? I need the form to search within the site for keywords (and then display the results). Thank you~
The form is straight forward enough. The html is correct. You just need to put the script that will handle the request inside of the action="" Code (markup): As an example: action="search.php" Code (markup): The search.php script will be sent the search term entered when the ok.jpg image is clicked, but you need to tell it what to do with that term afterward. There are many pre-made search scripts available across the internet but depending on if you have a content management system like PHPnuke, Wordpress...etc, you might want to look into how to use their built-in search functions.