We are about to switch to a new forum software. Until then we have removed the registration on this forum.
So I want to make a program where people can upload a picture of a character to a databass, and then the program will pick one and display that image. How would i go about doing this, or is it not possible.
I can get it to display a random image in the same folder as the program, but how would i call a random one from a database
Answers
Do you really need to use a database? Just putting the images in a folder seems enough for your usage. Databases aren't well suited to store blobs of binary data, anyway.
Yea because I want to not be the only one who can upload these pictures, it's for a joke program so I guess it's really not that important but I like to learn about this language.
I still don't understand the need for a database. If several people upload images, they just coexist in the same folder, that's not a problem.