Hi I am trying to make a search engine. I am new to Cgi. I know C++.I have a database will contain restaurants. It will have their names, location, and menu. People are going to be allowed to search using one of this options at a time.So people should be a provided a way to select the kind of search they want. multiple people searching at the same time is allowed. What people should get when they search is the name of the restaurant, its location and info on its menu. This is so if the place is found. If not found they should go to a page that says so.
Continuation of explanation:
lets say i have this tables:
TABLE: tblRestaurant (restaurant information)
Restaurant_ID (autonumber) Primary Key
TABLE: tblMenu (restaurant menu information)
Restaurant_ID (number) Foreign key -> tblRestaurant.Restaurant_ID
Meal_Type (number) (1 = starters, 2 = soups, 3 = salads, etc..)
Things i would like help:
1. How do I make a form that allows me to search selecting diferrent methods? Like name of restaurant,menu,locatio,etc?
2. Since i know C++ i would like to implement the search done by the place name using a balanced search tree.
a. How do you use C++ code in webpages?
b. can a balanced search tree be done using perl?
3. For the other search selections i would like to use diferent kinds of search types...Is this Posible? Does perl allows for different types of search methods like C and C++ does?
Please Explain in detail each question, providing examples so i can guide myself.Points of question may rise.I would appreciate you put answer as comment like in the Access section so i can choose which answer I like cuz sometimes if question is locked other experts might not participate.