Jump to content



Photo

[MySQL] How can I show an image from MySQL?


  • This topic is locked This topic is locked
No replies to this topic

#1 Cryo Kinesis

Cryo Kinesis

    Haphost Staff

  • Moderators
  • 128 posts
  • LocationGridania, Eorzea

Posted 05 August 2014 - 04:27 PM

Hi there,

 

You can store a image in a database making the database table field of BLOB type. Later you can query the database fetch the content of image as usual and display this fetched-image on a webpage (or whatever the way like) using PHP headers.


Cryo%20Kinesis%20Haphost%20Sig2.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users