usergeyv
Знаток
- Регистрация
- 5 Июл 2013
- Сообщения
- 152
- Реакции
- 25
- Автор темы
- #1
$arr = array($xfnamem => $stack);
в итоге массив вида:
Как вывести все значения по ключу ?
Делал
echo $arr[kachestvo];
результат Array
в итоге массив вида:
PHP:
array(1) {
["god-vyhoda"]=>
array(74) {
[0]=>
string(0) "1929"
[1]=>
string(4) "1930"
[2]=>
string(4) "1932"
[3]=>
string(4) "1938"
[4]=>
string(4) "1946"
[5]=>
string(4) "1950"
[6]=>
string(4) "1952"
[7]=>
string(4) "1956"
[8]=>
string(4) "1957"
[9]=>
string(4) "1958"
[10]=>
string(4) "1959"
[11]=>
string(4) "1960"
[12]=>
string(4) "1961"
[13]=>
string(4) "1963"
[14]=>
string(4) "1964"
[15]=>
string(4) "1965"
[16]=>
string(4) "1966"
[17]=>
string(4) "1967"
[18]=>
string(4) "1968"
[19]=>
string(4) "1969"
[20]=>
string(4) "1970"
[21]=>
string(4) "1971"
[22]=>
string(4) "1972"
[23]=>
string(4) "1973"
[24]=>
string(4) "1974"
[25]=>
string(4) "1975"
[26]=>
string(4) "1976"
[27]=>
string(4) "1977"
[28]=>
string(4) "1978"
[29]=>
string(4) "1979"
[30]=>
string(4) "1980"
[31]=>
string(4) "1981"
[32]=>
string(4) "1982"
[33]=>
string(4) "1983"
[34]=>
string(4) "1984"
[35]=>
string(4) "1985"
[36]=>
string(4) "1986"
[37]=>
string(4) "1987"
[38]=>
string(4) "1988"
[39]=>
string(4) "1989"
[40]=>
string(4) "1990"
[41]=>
string(4) "1991"
[42]=>
string(4) "1992"
[43]=>
string(4) "1993"
[44]=>
string(4) "1994"
[45]=>
string(4) "1995"
[46]=>
string(4) "1996"
[47]=>
string(4) "1997"
[48]=>
string(4) "1998"
[49]=>
string(4) "1999"
[50]=>
string(4) "2000"
[51]=>
string(4) "2001"
[52]=>
string(4) "2002"
[53]=>
string(4) "2003"
[54]=>
string(4) "2004"
[55]=>
string(4) "2005"
[56]=>
string(4) "2006"
[57]=>
string(4) "2007"
[58]=>
string(4) "2008"
[59]=>
string(4) "2009"
[60]=>
string(4) "2010"
[61]=>
string(4) "2011"
[62]=>
string(4) "2012"
[63]=>
string(4) "2013"
[64]=>
string(4) "2014"
[65]=>
string(4) "2015"
[66]=>
string(4) "2016"
[67]=>
string(4) "2017"
[68]=>
string(4) "2018"
}
}
array(1) {
["kachestvo"]=>
array(40) {
[0]=>
string(0) "ИАА"
[1]=>
string(2) "BD"
[2]=>
string(6) "BDDRIP"
[3]=>
string(7) "BDREMUX"
[4]=>
string(5) "BDRIP"
[5]=>
string(9) "BDRIP-AVC"
[6]=>
string(10) "BDRIP-HEVC"
[7]=>
string(3) "BLU"
[8]=>
string(7) "BLU-RAY"
[9]=>
string(4) "DRIP"
[10]=>
string(3) "DVB"
[11]=>
string(5) "DVD-9"
[12]=>
string(4) "DVD5"
[13]=>
string(4) "DVD9"
[14]=>
string(6) "DVDRIP"
[15]=>
string(10) "DVDRIP-AVC"
[16]=>
string(5) "HDRIP"
[17]=>
string(9) "HDRIP-AVC"
[18]=>
string(4) "HDTV"
[19]=>
string(8) "HDTV-RIP"
[20]=>
string(7) "HDTVRIP"
[21]=>
string(11) "HDTVRIP-AVC"
[22]=>
string(4) "IPTV"
[23]=>
string(7) "IPTVRIP"
[24]=>
string(11) "PDTVRIP-AVC"
[25]=>
string(6) "SATRIP"
[26]=>
string(10) "SATRIP-AVC"
[27]=>
string(2) "TS"
[28]=>
string(5) "TVRIP"
[29]=>
string(3) "UHD"
[30]=>
string(6) "VHSRIP"
[31]=>
string(3) "WEB"
[32]=>
string(6) "WEB-DL"
[33]=>
string(9) "WEB-DLRIP"
[34]=>
string(13) "WEB-DLRIP-AVC"
[35]=>
string(5) "WEBDL"
[36]=>
string(5) "WEBIP"
[37]=>
string(6) "WEBRIP"
[38]=>
string(10) "WEBRIP-AVC"
[39]=>
string(6) "РDRIP"
}
}
Делал
echo $arr[kachestvo];
результат Array