PHP 8.5.0 Alpha 4 available for testing

Voting

: max(five, one)?
(Example: nine)

The Note You're Voting On

nachitox2000 [at] hotmail [dot] com
15 years ago
I had problems with spanish special characters. So i think in using htmlspecialchars but my strings also contain HTML.
So I used this :) Hope it help

<?php
function htmlspanishchars($str)
{
return
str_replace(array("&lt;", "&gt;"), array("<", ">"), htmlspecialchars($str, ENT_NOQUOTES, "UTF-8"));
}
?>

<< Back to user notes page

To Top