I'm trying to pass a word that has the char ' or " in the middle of it.
it's one of the fields in a form, so when I submit, the next page gets only the part of the word before the " or ' char. I tried using mysql_real_escape_string() but this just adds a slash so I get half a word with a slash..
<form>... echo'<OPTION VALUE="'.mysql_real_escape_string($rowName['Name']).'">'.$rowName['Name']; </form>...
if the word is my"hom'e all I get is my/
how can I get the exect word my"hom'e completely?