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

    Join Date
    Jul 2003
    Rep Power

    Question Saving a picture in mySQL?

    Is there a way to save a picture on the whole in a SQL table? I am referring to the picture itself. I mean I know that one could save the source of the picture in a text-field of a MySQL table, but what I wanna know is, if it´s possible to save the whole picture itself in SQL?

    And if possible, how would I do it, and how could I access that picture again?

    thx in advance for your replies,
  2. #2
  3. No Profile Picture
    The Dude Abides
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Feb 2000
    grass valley,ca
    Rep Power
    Do a search on the forum, this has been covered many times.

    It is better not to store the picture in the database, it should be stored in a directory, and only the name of the picture in the database.

IMN logo majestic logo threadwatch logo seochat tools logo