I have an image uploading script, that has the option to enter an image and soon a background image, but there are currently no categories and its getting a wee bit messy, could someone point me to a tutorial/tell me how i would go about adding categories to my php image script? (the script itself is fairly simple) Im assuming it has to do with me adding something to my database, and php script somewhere thanks.
If it's an uploading script, you can either work with filesystem or database system. Using a database you can create a category table, and then have each uploaded image become some data in a "images" table and tie them to a category ID. Then you have a php script connect to these two tables, and sort data based on the category requested such as a GET in the HTTP: http://example.com/index.php?getCat=5
thanks for the reply man! hmm.. that seems to have gone over my head a bit, im not great at coding you see, but i'm egor to learn more! do you know of any tutorials for this kinda thing, i don't wana take up your time trying to explain it to me, it seems like it would take a while to type an explination, i would need like sample codes and thinngs. thanks again for the responce!