PDA

View Full Version : mysql and images...


grim918
January 2nd, 2006, 06:27 PM
i have quick noob question. i was wondering if images can be loaded into a database. i dont think that they can but i was just wondering.

Neeko
January 2nd, 2006, 06:35 PM
Yes they can, as Binary Large Objects, or BLOBs. However some consider it poor style, as it creates huge tables. As an alternative, I have stored the full path to an image in a table column rather than th e image itself.