Solved

Simple Web Based Directory based on area

Posted on 2011-02-20
2
182 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-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 110

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

624 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