多的foreach语句,你能告诉我怎么写foreach循环用于以下arrray:需要帮助的PHP
Array
(
[0] => Array
(
[id] => 1
[sector] => Agriculture
[experience] => 2
[first_name] => ranjith
[second_name] =>
[position] =>
[telephone] => 442254322
[mobile] => 999999999
[email] => [email protected]
[education] => Phd
[resume] =>
[photograph] =>
[comments] => goodsdsdfdfd
[status] => 1
)
[1] => Array
(
[id] => 2
[sector] => Water
[experience] => 3
[first_name] => jagdish
[second_name] =>
[position] =>
[telephone] => 99999
[mobile] => 99
[email] => [email protected]
[education] => sdsdf
[resume] =>
[photograph] =>
[comments] => sdfsdf
[status] => 0
)
)
需要得到FIRST_NAME或SECOND_NAME –
你尝试过什么?你能更精确吗? – Nicolas
感谢您的解决方案。这正是我期待的 –