#1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    6
    Rep Power
    0
    Hi,

    I've got to write a script that prints images on screen that are stored in a mysql database. Now, the part where I put them IN the database works very fine, but, the part where I have to print them on the screen doesn' t work right now. Also, I do a straight join with another table, so in one table I get info about the produkt, en table 2 contains info about the picture (size, name, filetype and one column is named 'bin_data', here is the actual image stored. Hope you guys can help me out to get it on screen, cos I'm really stuck now
  2. #2
  3. Wiking
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Sep 2000
    Location
    Sweden
    Posts
    3,608
    Rep Power
    30
    As I prefer storing links to the pic in a db and having the pic in some dir, rather than having the pic itself in a db I can only provide you a link that might help you: http://phpbuilder.com/columns/florian19991014.php3

    /NoXcuz
  4. #3
  5. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    6
    Rep Power
    0
    It's funny, I used this script and modified a bit ofcourse now, I've changed the way I was doing it and also uploaded the image in a directory and only a link to the image in my database and now it works fine too
    but tnx anyway for the reply

IMN logo majestic logo threadwatch logo seochat tools logo