Jump to content

Starting a project, could use a little help!


ZeromusXXX

Recommended Posts

If someone can point me in the direction or assist me here I would greatly appreciate it.

 

I would like users to be able to select an item from a dropdown menu that pulls information from a MySQL database. Just for example purposes... the State dropdown menu when you're registering for something. When the user selects <insert state here> it saves that record. Then on the main page I would like it to show Jack (random name) and have it place an existing picture of Florida next to Jack. (images stored web server).

 

Thanks in advance!

Link to comment
Share on other sites

So how familiar are you with PHP? MySQL? What have you learned so far? This forum works a lot more effectively if you can ask specific questions.

 

In general you'll need

1. To know how to get stuff from a database (the list of states)

2. To know how to put stuff into the database (who the user is and which state they chose)

3. A map

4. Information about where each state is on the map - like actual pixel locations (eg, the center of Florida is at X,Y on this image) - which you should store in the database along with the state information itself

5. Some HTML and CSS knowledge; besides obviously making the page, you will need to be able to overlay one HTML element on top of another (that is, a with the username overlaid on the map)

 

On that main page you'll pull information for one user (I guess?), including which state and where that is on the map, then position an and accordingly.

Link to comment
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.