Check out example codes for "copied text from internet not inserting in mysql". It will help you in understanding the concepts better.
Code Example 1
When I was copying and pasting into textarea it won't allowing me to insert value in database. Now I found the solution HTML --- <textarea name="description">
Learn ReactJs, React Native from akashmittal.com