Mah...
Codice PHP:
<?php
$string = '[b]magnà è bello[/b]';
$string = preg_replace('#>(.*?)<#se', "'>' . htmlentities('\\\\1') . '<'", $string);
print($string);
?>
Mah...
Codice PHP:
<?php
$string = '[b]magnà è bello[/b]';
$string = preg_replace('#>(.*?)<#se', "'>' . htmlentities('\\\\1') . '<'", $string);
print($string);
?>