Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 php 中有一个数组,如下所示
Array ( [0] => 375452292 [1] => 205304629 [2] => 910337332 [3] => 616516330 [4] => 560488951 )
我正在尝试将此数组转换为格式化的查询参数,如下所示
'375452292','205304629','910337332','616516330','560488951'
请帮忙。
使用“内爆”
http://php.net/manual/en/function.implode.php
implode(",", $array);