摘要: 在thinkphp中同样可以用 explode来进行字符的切割工作,比如 $jihe='1,2,3,4'; 在使用explode之后,可以获得一个数组: $array=explode(',',$jihe); 输出内容如下: Array ( [0] => 1 [1] => 2 [2] =>3 [3] 阅读全文
posted @ 2019-04-07 12:20 熊七公 阅读(1110) 评论(0) 推荐(0) 编辑