14 lines
268 B
PHP
14 lines
268 B
PHP
<?php
|
|
/**
|
|
* Define function for escaping characters.
|
|
*
|
|
* This funcion prevents of creating build-in function, which escapes also accents...
|
|
*
|
|
* @param $value
|
|
*
|
|
* @return string
|
|
*/
|
|
function e($value)
|
|
{
|
|
return htmlspecialchars($value, ENT_QUOTES, 'UTF-8');
|
|
} |