give me the code to insert an image in mysql database in php platform?
Not really going to type out a summary of this page, but it should explain what you need. Essentially the table needs to have a blob type column (for storing the image) and the php code is pretty simple to understand to actually decode and send it to the database. http://mrarrowhead.com/index.php?page=store_images_mysql_php.php
Ideally, you shouldn't store the images in the database. Save the images in a publicly accessible folder and store the *link* in the database.
this is very easy to store the image in public folder and link it in database...but just think about a photogallery where many person upload their photos.....i want that type of code......whenever a user want to upload a picture then this picture selected by administrator..that means when user upload the picture then this picture store in database and admin reteive the picture from database........can u all help me for that???:)
I've actually done this before, reply this if u want furthur help
pal zscdragon,can u kindly explain me that how i do this??pls upload ur code.....
Join our real-time social learning platform and learn together with your friends!