remove empty spaces php
snippet in php

remove empty spaces php

user7372

$string = str_replace(' ', '', $string);