Help - Search - Members - Calendar
Full Version: Search Bar Question
HTMLHelp Forums > Web Authoring > Web Site Functionality
Hi guys,
I'm trying to find out if there's a way to add an HTML search box to my website that will open up the page searched for?

I have the search box on the homepage. I have pages, each with the name of a British city. If a visitor using the search box searches for "London" they will be taken directly to

I can't find a search box code anywhere that will allow me to do this. Is it even possible?
Thank you in advance,

In theory, yes it can be done. But are you sure you want to do this? What happens when a user enters only part of name and multiple results are returned?

If only 1 result is returned then you could redirect to that city. If more than 1 result is returned then you could show the results on a page. Once the user clicks on 1 of the results then you could redirect to that page.

If your server side language is PHP then you could use the PHP 'header' command.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.