How to get the string store in an array in php
<p>I have a string that I trim first to remove extra characters and store it to a variable.</p>

<p>sampel output:</p>

<pre><code>    variable: place1 place2
</code></pre>

<p>Now what I want to do is store it to an array. But how can I do that? is there a function that will detect if there is a white space? because every white space that it detects I would want the string to be stored in an array.</p>

<p>Any method or help is greatly appreciated! Thanks!</p>
