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 做到这一点?
利用implode()
implode()
$string = implode('+', array(house, table, horse, tree));