To remove all spaces out of a string we ll use str_replace function of php
Here is the top answer to remove all spaces out of string in php
<?php
$string = str_replace(' ', '', $string);
?>
To remove all spaces out of a string we ll use str_replace function of php
Here is the top answer to remove all spaces out of string in php
<?php
$string = str_replace(' ', '', $string);
?>