I need to explode $k like this
$kExploded = explode(" ", $k);
Now if it ca be useful I also add that
var_dump($k)= string(20) "2013-01-01 12:00:00 " string(20) "2013-01-02 12:00:00 "
string(20) "2013-01-03 12:00:00 "
How to explode $K?
if I echo out $k returns this
2013-01-01 12:00:00 2013-01-02 12:00:00 2013-01-03 12:00:00
I just would like to get this:
2013-01-0112:00:002013-01-0212:00:002013-01-0312:00:00//take off all white space