uploading files to a database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
r0b3rt9
Forum Newbie
Posts: 1
Joined: Mon Nov 29, 2010 10:48 am

uploading files to a database

Post by r0b3rt9 »

hi peeps,

i have looked everywhere for an answer but nothin has come around. First of all is it possible to upload a file into a database with a catogory inserted?? for example: i have a users excel file that i want to upload to a database but put under a catogory of "admin". so when it comes to listing results i can select admin from a drop down menu and all the results including the "user" file are showen

i hope this makes sense, i just need to know if its possible first...

thanks

Rob
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: uploading files to a database

Post by Celauran »

Copy the file to some directory and insert its path into the database along with the category information?
Post Reply