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 |
Tell me which function gives us the number of affected entries by a query?
What is the maximum size of a file that can be uploaded using PHP and how can we change this?
what is the current salary package in India for a PHP & MySQL programmer who has 3 years experience
127 Answers ABC, BLG Logistics, Google, HCL, IBM, Infosys, People Group, PHP, Torque Infotech, V Angelz Technologies, Yahoo,
does current version of mysql (myisam) supports foreign keys ?
How do sessions work in php?
How to take a substring from a given string in php?
Tell me what is the difference between characters 34 and x34?
How do you pass a variable by value in php?
Is php dead 2019?
What are encryption functions in php?
What is the purpose of the '.myi' file extension? What do thes file contain?
When do you use define() and when do you use const. What are the main differences between those two?