array(), "name_array" => array(), "latitude_array" => array(), "longitude_array" => array(), "coord_accuracy_array" => array(), "begin_date_array" => array(), "end_date_array" => array() ); $i = 1; $testarray['id_array'][1] = "id1"; $testarray['id_array'][2] = "id2"; $testarray["name_array"][1] = "name1"; $testarray["name_array"][2] = "name2"; echo count($testarray); echo count($testarray["id_array"]); for ($i=1; $i<=count($testarray["id_array"]);$i++) { echo ("ja"); } foreach ($testarray as $key=>$value) { //echo $key; //echo $value[$i]; //echo $testarray[$key][$i]; echo(' 5
'); //$i++; } ?>