1

Ok I have this problem that I've never had before, it's really bugging me.

Basically I'm trying to submit text into a text field using a form. For some reason when I submit it with raw text and full-stops only it works fine, however it seems that when there is punctuation like a ' or a ! in the textarea then it just won't submit to the database. No errors are shown but there is just no result.

It's obviously some really obvious problem that I'm missing because I'm dopey, any ideas?

1
  • I think you should probably delete this question (if someone has a real problem with inserting text now they have to read about your spelling mistake, that's not really helpful). Keep Stackoverflow tidy :) Commented Jun 29, 2009 at 22:06

1 Answer 1

5

Are you escaping the input? See mysql_real_escape_string()

Sign up to request clarification or add additional context in comments.

1 Comment

Spelling error :( And this is why I'm not a professional coder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.