'I get this error when I try to enter a huge text and I dont know how to fix it

I get this error when I try to enter huge text and I dont know how to fix it.

enter image description here

php


Solution 1:[1]

Please don't post error messages as screenshots.

The error comes from the apostrophe in "I've" which is closing out the single quote that your value is wrapped in. This error can be fixed by learning how to do prepared statements instead of concatenating your values in to the SQL statement, which can lead to SQL Injection attacks.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mark_b