StreetSaintz Posted August 10, 2013 Posted August 10, 2013 Hey, i have made a map uploader but now i need to make it that it shows uploaded maps on the webpage how i can do that ?
Jaysds1 Posted August 11, 2013 Posted August 11, 2013 If you made a map uploader, I hope you used a MySQL database to keep track of all the maps, as it would be easy just to query for all the maps and display all of them on the web page. Learn more about Web Developing/Scripting here: http://w3schools.com
StreetSaintz Posted August 11, 2013 Author Posted August 11, 2013 If you made a map uploader, I hope you used a MySQL database to keep track of all the maps, as it would be easy just to query for all the maps and display all of them on the web page.Learn more about Web Developing/Scripting here: http://w3schools.com No, i just used php can you give me a example how i can make it with an mysql database?
Jaysds1 Posted August 12, 2013 Posted August 12, 2013 um, it's kinda hard to explain, I would just show you some pages to learn off: Intro to "PHP MySQL" - http://w3schools.com/php/php_mysql_intro.asp PHP MySQLi Functions - http://w3schools.com/php/php_ref_mysqli.asp MySQL/SQL - http://w3schools.com/sql/default.asp
StreetSaintz Posted August 14, 2013 Author Posted August 14, 2013 i made it now that it saves the uploaded files their names and displays the names on 'uploaded maps'
Jaysds1 Posted August 14, 2013 Posted August 14, 2013 ok, After that, when the user wants to see the page of uploaded maps, then you should do a query which will get everything you save in the database.
StreetSaintz Posted August 15, 2013 Author Posted August 15, 2013 Done, also added as optional that you can fill in your username and if someone keeps uploading the same files to put the database full i made it that when ever you upload a file it also saves your IP adress.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now