I am not sure how to escape an apostrophe with a slash. I am using fckeditor and fckeditor replaces all single apostrophes with double apostrophes. My code is doing the same thing so when I view the content there are two apostrophe in the html. I thought that I could escape the apostrophe with a slash and that should do the trick.
views:
620answers:
3
A:
You should replace with
"
which is the best and sometimes only way to store quotaiton marks in text fragments.
Jaimal Chohan
2009-08-26 16:27:59
" is a double quote.
Jan Aagaard
2009-08-26 16:30:05
+2
A:
According to this list of HTML entities you should use '
(but this will apparantly not work in IE) or '
.
You can find more on the HTML Symbol Entities Reference.
Jan Aagaard
2009-08-26 16:34:15
+1
A:
You should replace double quote with
This code 9" x 9" with give you output as 9" X 9"
And if your database row contain single apostrophe, you can display by assigning that value to lable controls text property and it should work without any issues.
Neil
2009-08-26 18:28:30