tryphp_func_string_htmlspecialchars2.php:
"; echo htmlspecialchars($str, ENT_QUOTES); // Converts double and single quotes echo "
"; echo htmlspecialchars($str, ENT_NOQUOTES); // Does not convert any quotes ?>
Jane & 'Tarzan'
Jane & 'Tarzan'
Jane & 'Tarzan'