Z zs1982 New Member Jun 10, 2012 #1 How can i strip / remove all spaces of a string in PHP?Say i have a string like \[code\]$string = "this is my string";\[/code\]the output should be like \[code\]"thisismystring"\[/code\]How can i do that?
How can i strip / remove all spaces of a string in PHP?Say i have a string like \[code\]$string = "this is my string";\[/code\]the output should be like \[code\]"thisismystring"\[/code\]How can i do that?