answersLogoWhite

0


Best Answer

There is a pretty solid tutorial here http://www.mysqltutorial.org/php-mysql-blob/ if you are using PDO. Without seeing your database table structure, it is hard to know what the propoer approach would be for your situation

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you insert an image into MySQL using a BLOB?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you save image in sql using Java?

You can convert the image into a byte stream and save it in the database as a BLOB


How to determine the MySQL leading prefix index size?

Indexes can be created that use only the leading part of column values, using col_name(length) syntax to specify an index prefix length. The MySQL prefix index is only apply to CHAR, VARCHAR, BINARY, VARBINARY, BLOB and TEXT columns.In order to determine the best MySQL leading prefix index size, you should try to find the smallest value size that gives uniqueness.


How the organisms affects the environment and vice-versa?

organisms help theenvironment and the environment helps organisms


What did people do during Hurricane Katrina?

blob were bob blob blobabdy blob blob


How do you say you are a pig in french?

French children are taught that pigs say 'groin, groin!' instead of 'oink, oink!'


What type of bird is the gamecock?

blob is blob and blob.


What is bob the blob?

Bob is a blob, a big green blob


Is blob a bad word?

No, it is not. A "blob" is a drop or spot or lump of anything. A blob of INK, a blob of BLOOD, a blob of LARD or a blob of water or just a spot on something, like a blob of dried mustard on a shirt. It is not a bad word. It's in the dictionary.


BLOB and CLOB in ASP?

BLOB is an acronym for binary large object, while CLOB stands for character large object. A BLOB is a collection of binary data that is stored as a single object like an image, executable code, or a piece of audio. CLOBs are large collections of character data with high size limits that can reach 2 GB or more.


What is an amorphous mass?

blob blob


When was the blob made?

The blob was made 1895 when Barry veness was around he created the blob


When was the Canadian penny minted?

Blob it is blob