Hello everybody,
i learned the basics of php a while ago, and as a first project, i want to create a website where anybody can rate pictures or upload his own.
The hosting isnt a problem, i want to know if a db is necessary, if its i will have to learn mysql.
note:No login/anybody can upload.
Thanks.
Karlwakim
17
Junior Poster in Training
Recommended Answers
Jump to PostA database is not necessary, but it will probably much easier to store/retrieve your ratings from a database, then for example a file.
Jump to PostI would go with a database also and for your example you'd probably only need to look up three PHP 'functions' to work with the database: Insert (to create a new row the first time that a rating is left for an image), Select (to get the ratings for a …
All 5 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Karlwakim
17
Junior Poster in Training
weekendrockstar
12
Junior Poster in Training
Karlwakim
17
Junior Poster in Training
scarcella
11
Senior Software Architect
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.