Jump to content

Recommended Posts

I'm trying to lear mysql and php integration and would like a little help on my next task.

 

I want to open a data file which has names and addresses, and create a list of name of names first, last based on a specific address (more specifically) their state.

 

Ideally what I want, is a map of the us, and when someone click on a particluar state, the file will read the database and find all the members from that state, and display their first and last name, and their city.

 

Database has about 15 different fields, including FirstName, LastName, City, State, Zip, and several more.

 

I think if I can get a little help on just opening the data file, searching for a particular state, then displaying the appropriate fields in a list form, I can probably handle the rest.

 

Thanks.

 

Link to comment
https://forums.phpfreaks.com/topic/82513-get-a-list-from-mysql/
Share on other sites

Sorry for the confusion, maybe I'm using the wrong terminolog.

 

I have a MYSQL database called members.  I would like to have a map of the US on my web page. When someone clicks a hot spot over a particular state, then a php file is run, opening the members datafile and creating a list of members from that state.

 

Link to comment
https://forums.phpfreaks.com/topic/82513-get-a-list-from-mysql/#findComment-422719
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.