Search found 2 matches

by freddy-a
Wed Mar 17, 2004 11:11 am
Forum: Databases
Topic: Retrieve image from database problem
Replies: 7
Views: 1166

Are you using blob for datatype? The max size for that is 65535 bytes.
Maybe you can try using mediumblob? The max size for a mediumblob is 1.6 Mb. It uses 1 byte more per record, so that propably won't cause any problems.

Greetz,
Freddy
by freddy-a
Wed Mar 17, 2004 5:58 am
Forum: Databases
Topic: Retrieve image from database problem
Replies: 7
Views: 1166

Hi, I'm trying to retrieve an image from a database but I can't get it to work :-( Can anyone post some code to help me out? I've tried a seperate file and various tips from other sites (hotscript.com and phpbuilder.com) but without succes... I have a database in which I store the image (jpg). Now I...