Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


write the function to fetch a image from mysql databases
(datatype blob).



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

Post New Answer

More PHP Interview Questions

What are the differences between PHP3 and PHP4 versions?

1 Answers  


What are the different data types in javascript?

0 Answers  


What are the different loops in php?

0 Answers  


How long do php sessions last?

0 Answers  


What is string and its function?

0 Answers  






What is the use of trim in php?

0 Answers  


What is member function?

0 Answers  


What is the difference between myisam and innodb?

0 Answers  


Shopping cart online validation i.e. how can we configure Paypal, etc.?

1 Answers   INDUS,


Can you use php and javascript together?

0 Answers  


What is url encoding and decoding in php?

0 Answers  


What is the difference between implode() and explode() in php?

0 Answers  






Categories