i want remove all spaces of a string variable
example:
$var="hi norm how are you?"
i want echo:
hinormhowareyou?
anyone can help me?
I think the simplest way is:
$var = str_replace(" ","",$var);