Forms and mysql - Post ID 1861

User 401295 Photo


Registered User
5 posts

I have created a MySQL database - username and password are set and I have created a form that uploads files of allowed file extension. the form uploads the file (in this case a .doc file) and that file is in the files folder - the form contains one other field 'file name' - so on the MySQL database I have the file name as a field - but no field related to the actual file. How do I get that file to appear in the database?

thanks
User 132952 Photo


Ambassador
3,120 posts

I don't think it's designed to store the attachments into the database, only in a folder on the server.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.