Hi there,
I've been trying to replace spaces but I can't see what I'm doing worng. I tried the following and both doesn't seem to be working. Is there a special way of representing white spaces in php?
Many thanks!
preg_replace ('/ /', '', $file_top_formatted);
preg_replace ('/\s/', '', $file_top_formatted);
I've been trying to replace spaces but I can't see what I'm doing worng. I tried the following and both doesn't seem to be working. Is there a special way of representing white spaces in php?
Many thanks!

preg_replace ('/ /', '', $file_top_formatted);
preg_replace ('/\s/', '', $file_top_formatted);