ZeromusXXX Posted July 23, 2016 Share Posted July 23, 2016 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! Quote Link to comment https://forums.phpfreaks.com/topic/301557-starting-a-project-could-use-a-little-help/ Share on other sites More sharing options...
requinix Posted July 23, 2016 Share Posted July 23, 2016 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. Quote Link to comment https://forums.phpfreaks.com/topic/301557-starting-a-project-could-use-a-little-help/#findComment-1534885 Share on other sites More sharing options...
Zane Posted July 23, 2016 Share Posted July 23, 2016 Unless you're just dead set on reinventing the wheel, there are plenty of free resources out there that have to do with countries, analytics, interactivity.. For example http://freehtml5maps.com/free-responsive-html5-usa-map/ Quote Link to comment https://forums.phpfreaks.com/topic/301557-starting-a-project-could-use-a-little-help/#findComment-1534887 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.