Weird text addition in PHP

Posted by Patrick Gates on Stack Overflow See other posts from Stack Overflow or by Patrick Gates
Published on 2010-06-11T06:07:36Z Indexed on 2010/06/11 6:12 UTC
Read the original article Hit count: 292

Filed under:

I have a form posting data to a php page. Then I have the PHP page echoing the data aswell as posting it to twitter. Whenever In a word with an apostrophe it adds a back-slash right before it. So I type in "I'm going to the park" it echos "I\'m going to the park" what's going on and how do I fix it? Thanx :)

© Stack Overflow or respective owner

Related posts about php