Mysql storing quotes as '
Posted
by Click Upvote
on Stack Overflow
See other posts from Stack Overflow
or by Click Upvote
Published on 2010-04-18T04:27:57Z
Indexed on
2010/04/18
4:33 UTC
Read the original article
Hit count: 352
I have some PHP code which stores whatever is typed in a textbox in the databse. If I type in bob's apples
, it gets stored in the database as bob's apples
.
What can be the problem?
The table storing this has the collation of latin1_swedish_ci.
© Stack Overflow or respective owner