How to insert image in mysql database via php ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yusufjammy
    New Member
    • Jan 2010
    • 39

    How to insert image in mysql database via php ?

    How to insert image in mysql database via php and how to retrieve in php ?
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Personally, I would not do that. I would rather keep the image(s) in a folder or other location and store that location information in the database. This will also cut down on the size of your database overall.

    But, if you are intent on doing this, you can have a look at this link and see if it is helpful. If not, there is always Google.

    Regards,

    Jeff

    Comment

    • yusufjammy
      New Member
      • Jan 2010
      • 39

      #3
      Your right friend ? Will you tell me how to i access images from folder with code?
      I am newbie in php world ..

      Comment

      Working...