Apostrophe in a Text Area Breaks my Database Insert

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ridshack
Forum Commoner
Posts: 29
Joined: Wed Oct 11, 2006 10:34 pm

Apostrophe in a Text Area Breaks my Database Insert

Post by ridshack »

Ive got a form that inputs data into a MySql Database unless I have an apostrophe in the text field like:
Here is some text in the text field. The text field’s body is large.
That apostrophe in the word fields prevents my insert from occuring…

Anyone have any idea on how to fix this?

Thank you,
Jason
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Post Reply