"; echo htmlentities($str, ENT_QUOTES); echo "
"; echo htmlentities($str, ENT_NOQUOTES);