Hi,
there is a form with three field like news title, description, user can post heading with description(with special char), for this i have created table name called news with the following data type varchar for heading, longtext for description,
this is my input
"
heading: - good morning to all
description: - "Dear All,
Greetings from ECD!!
A small article on “Nobody’s friend”
My name is Gossip.
I have no respect for justice.
I break hearts and ruin lives.
I am cunning, malicious and gather strength with age.
The more I am quoted, the more I am believed.
I flourish at every level of society.
My victims are helpless.
They cannot protect themselves against me because
I have no name and no face.
To track me down is impossible.
The harder you try, the more elusive I become.
I am nobody's friend.
Once I tarnish a reputation, it is never the same.
I topple governments and wreck marriages.
I ruin careers and cause sleepless nights, heartaches and indigestion.
I spawn suspicion and generate grief.
I make innocent people cry in their pillows.
Even my name hisses.
I am called GOSSIP.
Office gossip
Shop gossip
Party gossip
Telephone gossip
I make headlines and headaches.
REMEMBER, when you repeat a story, ask yourself:
Is it true?
Is it fair?
Is it necessary??
If not, do not repeat it.
Have a great day!!
Thanks & Regards
"
im getting this error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's friend.
Once I tarnish a reputation, it is never the same.
' at line 2