Results 1 to 2 of 2
Thread: BLOB field inserts - please help
Jun 11, 2001, 07:15 #1
- Join Date
- Jun 2001
- Orlando, FL
- 0 Post(s)
- 0 Thread(s)
BLOB field inserts - please help
I realize that MySQL has limitations, and that directly storing the file in the database has performance issues, but all that aside, I still need to know HOW to insert a file into a BLOB field once the file has been uploaded to the server. I can handle the upload fine, but I don't have any examples of code that insert an uploaded file into a BLOB field.
I'm going to try searching Microsoft's website, since they have such detailed documentation, but since MySQL doesn't behave like SQL Server, I don't know whether anything I find there will be useful.
Any help would be greatly, greatly appreciated.
MandiLove ya - mean it!
Jun 11, 2001, 09:30 #2
simple.. all you need to do.. is open the file... read the contents into a variable.. and then insert the variable into mysqli dunno...