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

How does php session work?

0 Answers  


How do you get the Browser information?

3 Answers   Life Infotech,


Which operator is used to combine string values in php?

0 Answers  


How is it possible to remove escape characters from a string?

0 Answers  


What is meant by nl2br()?

3 Answers  






How many types of array supported in php?

0 Answers  


Explain php explode() function.

0 Answers  


Why die is used in php?

0 Answers  


Are php sessions cookies?

0 Answers  


How can we find the number of rows in a result set using PHP?

4 Answers  


Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.

0 Answers  


Do I need to install php after xampp?

0 Answers  


Categories