I am trying to store a string in Mysql database. That string was extracted from the HTML page.
i have used mysqli_real_escape_string()
PHP function but still it is not storing apostrophe.
It is showing ’
instead of apostrophe.
database collation: latin1_swedish_ci
Change your database collation to utf8_general_ci
OR change the column type to BLOB
. so your collation will be empty.
I think that will work.