waveparticle
Active Member
- Joined
- Dec 4, 2013
- Messages
- 96
- Reaction score
- 0
Hiya everyone,
So I'm learning PHP from scratch by directly building a CMS platform. So far so good, everything is working fine from login to registration to even a voucher system.
Now my problem is kind of stupid but Google is not really helping.
When I'm trying to INSERT some data in my table and the data contains either ' or - nothing gets inserted in my table. I'm pretty sure these characters are sort of restricted for security reasons, but I need to store them, since the paragraph of text won't make sense without them.
Now the form has several input text and a textarea which needs to have a long paragraph. Everything could be perfect in all the input fields but if only 1 field happens to have ' or - the entry is not made in the database.
How do I get around this problem?
Thanks.
So I'm learning PHP from scratch by directly building a CMS platform. So far so good, everything is working fine from login to registration to even a voucher system.
Now my problem is kind of stupid but Google is not really helping.
When I'm trying to INSERT some data in my table and the data contains either ' or - nothing gets inserted in my table. I'm pretty sure these characters are sort of restricted for security reasons, but I need to store them, since the paragraph of text won't make sense without them.
Now the form has several input text and a textarea which needs to have a long paragraph. Everything could be perfect in all the input fields but if only 1 field happens to have ' or - the entry is not made in the database.
How do I get around this problem?
Thanks.