0

I want to insert img in mySQL database. I'm using codelgniter php frame so code is must be in the MVC format

How it possible?

  • You have two basic options: You can hash the image using something like `base64_encode` and insert that, or you can insert the location of the image on the filesystem. – Jacob Mulquin Oct 09 '22 at 11:30
  • NO i want to insert the image ( any file ) in the database i know the code of display but i can't insert img in database it can be done in codelgniter frame work only – Renishali Batada Oct 09 '22 at 14:49
  • https://stackoverflow.com/questions/14704559/how-to-insert-image-in-mysql-databasetable – Jacob Mulquin Oct 09 '22 at 20:45

0 Answers0