php的foreach 同时遍历两个数组并输出

$a=array("h1","h2","h3"); $b=array("c1","c2","c3"); for($a as $key => $value) { echo $value . $b[$key]; }
相关文章
相关标签/搜索