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 two most common ways to start and finish a php block of code?

0 Answers  


How to define a function with any number of arguments?

0 Answers  


What is csrf token in php?

0 Answers  


What is the use of "echo" in php?

0 Answers  


Why do we use in php?

0 Answers  






What changes to done in PHP.ini file for file uploading?

2 Answers  


How to get the position of the character in a string in php?

0 Answers  


What is http php?

0 Answers  


can any one tell how to install LAMP server in terminal in ubuntu.....and also tell please how to run php files in ubunut and how to save and compile in ubuntu..i already installed ubuntu ..but i dont installed lamp server so i want to install lamp server in terminal is it possible please reply

2 Answers  


Is php dead 2019?

0 Answers  


What are the correct and the most two common way to start and finish a PHP block of code?

0 Answers  


What is strlen php?

0 Answers  


Categories