I want to store particular text field in database in the html equivalent form.I have used the PHP function
$str = htmlentities($str, ENT_QUOTES, "UTF-8");
where particular column in database related to $str variable has Column Charset: utf8 & Column Collate: utf8_bin. but value is stored in same BLOB form.
BLOBin terms of MySQL is a data type and is different than your character encoding (utf8) or collation. If you want to change the data type, you will have to query your database with…or
VARCHAR()or whatever you want to change it to.