write the function to fetch a image from mysql databases
(datatype blob).
Answer Posted / 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 |
Post New Answer View All Answers
Explain me is multiple inheritance supported in php?
Tell us how to create an array of a group of items inside an html form?
What are the functions of string?
Can age be a variable?
What is the super method?
When sessions ends?
How can cross site request forgery csrf be prevented?
What is inheritance in php with example?
Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?
What does $globals mean?
What are some of the advanced features of php?
What is the meaning of a final class and a final method?
What is the use of namespace in php?
What is difference between include,require,include_once and require_once()?
How to convert a character to an ascii value?