write the function to fetch a image from mysql databases
(datatype blob).
Answer / manish painuly
A BLOB is a binary large object that can hold a variable
amount of data. The four BLOB types are TINYBLOB, BLOB,
MEDIUMBLOB, and LONGBLOB. These differ only in the maximum
length of the values they can hold. The four TEXT types are
TINYTEXT, TEXT, MEDIUMTEXT, and LONGTEXT.
BLOB columns are treated as binary strings (byte strings).
TEXT columns are treated as non-binary strings (character
strings). BLOB columns have no character set, and sorting
and comparison are based on the numeric values of the bytes
in column values. TEXT columns have a character set, and
values are sorted and compared based on the collation of the
character set.
Submitted By Manish Painuly
| Is This Answer Correct ? | 9 Yes | 9 No |
What are the differences between mysqli_connect and mysqli_pconnect?
How can we get the properties (size, type, width, height) of an image using PHP image functions?
Is facebook still in php?
What is data type in php?
Can you pass an array into a function?
What is isset in php?
Tell me what library is used for pdf in php?
What is env in laravel?
What is difference between $x and $$x
5 Answers Mindex, Net Solution, Procon IT Solutions, Trigent,
How does integrate SSL certificate in websites and also how to generate CSR in Local machines? plese give some ideas ASAP.....
What’s the difference between md5(), crc32() and sha1() crypto on PHP? -
Tell me how can you pass a variable by reference?