Answers for "php remove nbsp from string"

PHP
0

php remove nbsp from string

$string = htmlentities($content, null, 'utf-8');
$content = str_replace(" ", "", $string);
$content = html_entity_decode($content);
Posted by: Guest on August-05-2021

Code answers related to "php remove nbsp from string"

Browse Popular Code Answers by Language