Mysql - Database

See all posts See thread Reply

Re: Mysql - Database new!
by hugo, 16 years, 8 months ago
hello,

it looks like you are saving the image name only to mysql.
is there any way of saving the actual image in the mysql database, as a blob?
thanks.

hugoReply
Re: Mysql - Database new!
by colin, 16 years, 8 months ago
Yes, the files are only dealt with as files. I think I can add in the class a way to output the content of the image into a variable, so that it can be stored as a blob, etc...

But generally, a database is not exactly the best place to store images.

I add this to my to-do list.Reply