$arr=array("one","two","three","four"); foreach ($arr as $value){ echo $value.""; } ?> 复制代码 输出结果 one two three four 有关foreach的用法,可以参考下:http://bbs.it-home.org/w3school/php/php_looping.html。