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:
1 2 | $string = "Joe's \"dinner\"" ; $string = quotes_to_entities( $string ); //results in "Joe's "dinner"" |
Please login to continue.