Please give me the query for inserting images in a MySQL database. I am new to stackoverflow, so please ignore me if my question is not up to mark.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Is there a particular reason why you can’t store a reference to the image, rather than the actual image?
Images are big—they make databases big. SQL can be painful (as it’s not object-oriented) and doesn’t have an image type.
You could store them as a
BLOB… if you want to write all the coding, encoding, checking, etc.