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 PHP3 and PHP4 versions?
What are the different data types in javascript?
What are the different loops in php?
How long do php sessions last?
What is string and its function?
What is the use of trim in php?
What is member function?
What is the difference between myisam and innodb?
Shopping cart online validation i.e. how can we configure Paypal, etc.?
Can you use php and javascript together?
What is url encoding and decoding in php?
What is the difference between implode() and explode() in php?