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

i want the different aptitude questions on interview way

2 Answers  


Who is known as the father of php?

0 Answers  


How can we create a database using php?

0 Answers  


Create a PHP web script with the following attributes: on start, three HTML form elements are shown: an string input field, a checkbox field, a dropdown/pull down list with 5 elements and a submit button. On submission, the form should be redisplayed (while remaining all options/inputs as the user has selected/entered them). Additionally, the selections/inputs of the user should be displayed in text. Please solve this without the use of any external libraries.

1 Answers   Wipro,


How to randomly retrieve a value from an array?

0 Answers  






Tell me what is the meaning of a final class and a final method?

0 Answers  


Where is the submitted form data stored?

0 Answers  


What is env in laravel?

0 Answers  


What are the options to transfer session ids?

0 Answers  


Why php was called as personal home page?

0 Answers  


How do you measure variables?

0 Answers  


hi recently i had faced an interview in that they asked me that php have faced the problem of y2k so which one is that year like 2030,2059 not remember exact year anybody will tell me pls?

1 Answers  


Categories