I am a newbie with php, and just wondered: Is there a way to upload a file (through a form) into an SQL database?
Thanks!
Yes, but it's usually not smart to store files in the database unless they are plaintext (so that you can search the content).
If you don't want to search the content, then storing the files in the database is just slowing down your database.
Ok, then, my best bet seems to be storing them elsewhere and using hyperlinks in the database. Thanks!
That would be a good solution. tip: store the filesystem-location in the database, and create the hyperlink on the fly. That way you can use the file's location in the scripts themselves. eg: for checking wether all files mentioned in the database also exist on disk.