Storing exact C file content in database with php
<p>I am working in a php project. I have to store the content of a C file into database. But it's been a poor experience for me. I used 'long text' data type to store. It seems if the content starts with '#' it doesn't store anything. There are some other problems like not detecting newline character and multiple space character. Can you please suggest a solution? I'm a php beginner.</p>