var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Saving images in DB
I'll use a DB to store info for a game I'm making and i have the follwing questions:
1. Anyone have an idea on how saving image files in the DB?
2. What column type must be used?
3. How can I encode/decode with the queries stuff wrote/read in/from that DB?
2. You can do it using the longblob datatype.
3. Do it via:
rs.getBytes("longBlobColumnName") where rs is a ResultSet.