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 |
How to read and display a HTML source from the website url?
What is the difference between session_unregister() and session_unset()?
What is interface? Why it is used?
What is new keyword in php?
What does a delimiter do in mysql?
What is dao in php?
How to get path of php.ini with a php script?
what is the dirrence in PHP4 & PHP5 . ?
How to download a php script directly in your script page?
3 Answers A1 Technology, Zmanda,
Different between the var_dump() and print_r()?
What is php array function?
What is a php form?