Konwertuj pojedynczy cytat w Htmlenities PHP
htmlentities($target,ENT_QUOTES)
Jittery Jaguar
htmlentities($target,ENT_QUOTES)