Solved

Simple Web Based Directory based on area

Posted on 2011-02-20
2
176 Views
Last Modified: 2012-05-11
I am looking for a Simple Web Based Directory based on area, then select a listing type and then display businesses with contact information.

select a city from a displayed dynamic list, example sunnyvale
select a category from a displayed dymanic list, example lawyers
then it would just list the layers in sunnyvale....

The lists can be in text file.

Please let me know if anyone has ideas...
0
Comment
Question by:tech-
2 Comments
 
LVL 11

Accepted Solution

by:
VanHackman earned 500 total points
ID: 34939701
Are you looking for examples about how to develop something like this or just a website similar to the one that you provided?

If you are looking for examples about how to develop a site similar here are the things that you will need to know.

You will need to know how to populate elements based on the option selected in some select, this something that in general is known like "dinamic lists", see the following example:

http://www.9lessons.info/2010/08/dynamic-dependent-select-box-using.html

There you could see how to populate a list based on the option selected in a differen list.

Well the login that you will need to use for developing a site like that is exactly the same...

In the example, you already have the part of how to know when a specific option is selected in the select box, and how to query the DB according to the value of that select.

The single difference will be that, instead of populating another select like in the example, you will need to populate a whole sectin of your site, say a "div".

So, it's very simple:

1 - Create the DB part.
2 - Create a Php script that given an specific variable, returns the table for the related elements.
3 - Use the example above to dynamicaly query the script from point number 2 and load the resulting table in a specific div.

For the point number 3, all that you will need to know is:

http://api.jquery.com/load/

Hope this help,
VanHackman!
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 34944869
This application has kind of "been done" already.  http://www.yellowpages.com/

The general design that people use to access this sort of information is to make a plain-text search.  The linked select lists went out of style with web 1.0.
http://lmgtfy.com?q=Lawyers+in+Sunnyvale
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question