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 is the default session time in PHP and how can I change it?

13 Answers   VirtualSoft,


How does session work in php?

0 Answers  


What is difference between core php and framework?

0 Answers  


Is session a cookie?

0 Answers  


Tell me what does $_env means?

0 Answers  


What is the use of hooks?

0 Answers  


What is member function?

0 Answers  


Which php framework is fastest?

0 Answers  


How to add comments in php?

0 Answers  


How to calculate the difference between two dates using php?

0 Answers  


Explain how can we increase the execution time of a php script?

0 Answers  


Is python similar to php?

0 Answers  


Categories