title: Remove space in between words in php
body: <p>How do I remove space between two words in php. For example <code>'Hello World'</code> should return <code>'HelloWorld'</code>. 
  I tried using <code>trim()</code> but it did not work.</p>