Convert blob to string
<p>I am working on a project where I have to store a large amount of data into database. For example 1200 - 2000 lines of code in a single column. When I read the information back from database I want to customize those codes. For example one of the line of codes has syntax error I want to show that line in red.
at the moment when I read as the information is in blob its treated as chunk. So can't do what I want to do. 
Any idea how to change them to string so I can customize any lines of code I want. And I am working on PHP. </p>
