I need to set up a search box so that when a user enters a stock symbol - like GOOG, let's say - when they press enter it opens the relevant page on my site, rather than list the search results. If no page exists, they get a page cannot be found message. I don't know what this is called, but it doesn't seem to be a feature in the site search engine software scripts I have seen, can someone direct me in the right direction.
I don't want to sound cynical, but that sounds bad for SEO. Most if not all site search scripts offer to show a little 'No results found' message if there are no ... results for a search, but putting a page not found message is mroe likely to work against you. However, any script that offers alternative resutls would be very good for you, and that would probably only take a little recoding of the 'No results found' message. Good luck with this
hi guys i need about x html what is the difference between x html and simple html thanx regards hamidos
What you are describing is a very simple PHP/MySQL search page. All of the content of your site should ideally be stored in a database (MySQL for instance). When a person types in a search into your search box (GOOG for example), that word/phrase is searched for in the database (perhaps in the id or company_id field). If an exact match is found, that company's information is displayed. If no exact matches were found, a "No Results Found" message is displayed instead. You should try to read up on PHP and MySQL, a lot of really useful stuff can be done with the two and they're not that difficult to learn. Hope this helps.