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 |
Explain some most commonly use string functions in php?
What is the difference between md5(), crc32() and sha1() crypto on php?
what is session_set_save_handler in PHP?
What is the difference between unset and unlink?
List out some tools through which we can draw E-R diagrams for mysql.
What is the current stable version of php?
What is $this in php?
for image work which library?
Explain about Type Juggling in PHP?
Can we run php in apache tomcat?
Why many companies are switching their current business language to php? Where php basically used?
Can I learn php without knowing c?