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 two most common ways to start and finish a php block of code?
How to define a function with any number of arguments?
What is csrf token in php?
What is the use of "echo" in php?
Why do we use in php?
What changes to done in PHP.ini file for file uploading?
How to get the position of the character in a string in php?
What is http php?
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
Is php dead 2019?
What are the correct and the most two common way to start and finish a PHP block of code?
What is strlen php?