我想的四根弦(用逗號分隔)的話混入一個字符串,如下所示:混合多個PHP串
$string1 = "apple, banana, grape";
$string2 = "red, yellow, black";
$string3 = "north, south, east";
$string4 = "april, may, june";
$output_string = "apple, red, north, april, banana, yellow, south, may, grape, black, east, june";
關於如何做到這一點任何想法?
可能重複http://stackoverflow.com/questions/11441369/php -string-concatenation) – siannone
元素的順序是否重要?如果沒有:http://stackoverflow.com/questions/11441369/php-string-concatenation – Leonardo