0
$array = array(
"id" => array("1","2","3"),
"text" => array("text 1","text 2", "text 3"),
"checked" => array("checked","","checked")
);
我有一個這樣的數組。我想要像這樣訪問foreach中的值。PHP訪問多維數組然後插入值
first loop => 1 |文本1 |已檢查或爲空
second loop => 2 | text 2 |檢查或空