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
What is difference between include and include_once in php?
What is helper function?
How to turn on the session support in php?
How to call a php function from another php file?
How can you increase the maximum execution time of a script in php?
What are the uses of explode() and implode() functions?
What is the function used to change the root directory in PHP?
What does pear stand for?
Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
What is the use of stripslashes in php?
What is php's mysqli extension?
How can I increase my website session?
What are the characteristics of php?
Is null check in php?
What is the use of pear in php?