quotes_to_entities($str)
Parameters: |
|
---|---|
Returns: |
String with quotes converted to HTML entities |
Return type: |
string |
Converts single and double quotes in a string to the corresponding HTML entities. Example:
$string = "Joe's \"dinner\""; $string = quotes_to_entities($string); //results in "Joe's "dinner""
Please login to continue.