我需要像这样爆炸$k
$kExploded = explode(" ", $k);
现在,如果它有用,我还补充说
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 "
如何爆$K?
如果我回显 $k 返回这个
2013-01-01 12:00:00 2013-01-02 12:00:00 2013-01-03 12:00:00
我只是想得到这个:
2013-01-0112:00:002013-01-0212:00:002013-01-0312:00:00//take off all white space