PHP - 在数组中获取特定键及其值

时间:2017-04-06 12:44:56

标签: php arrays

如何在key中获得具体的array。让我获得它的价值。

print_r中的示例代码输出。

Array ( [0] => Array ( [TIMESTAMP] => Thu, 2 Mar 2017 10:41:22 [ANI] => 6616706413 [ANI STATE] => CA [DISPOSITION] => 290 - SCHEDULED [NOTES] => received a letter from us His wife called in to make the appointment. I scheduled him for May 2nd at 10:45am in Sherman Oaks, provided address and number to call for directions. Thank you! [CALL ID] => 856217 [DNIS] => 8882900004 [CALL SURVEY RESULT] => [CUSTOMER NAME] => Louie Lopez [RECORDINGS] => [TALK TIME] => 00:06:30 [AFTER CALL WORK TIME] => 00:02:07 [number1] => 6616706413 [first_name] => Louie [last_name] => Lopez [1. How did you hear about us?] => [WORKSHEET ID] => ) 

[1] => Array ( [TIMESTAMP] => Thu, 2 Mar 2017 11:02:37 [ANI] => 9517227626 [ANI STATE] => CA [DISPOSITION] => 290 - WAITLIST [NOTES] => Calling to schedule via a flyer he rec'd. His information auto populated so I took a message to confirm with you before scheduling. You can reach him at 9517227626 [CALL ID] => 856311 [DNIS] => 8882900004 [CALL SURVEY RESULT] => [CUSTOMER NAME] => Donald Elvert Scott [RECORDINGS] => [TALK TIME] => 00:01:35 [AFTER CALL WORK TIME] => 00:00:29 [number1] => 9519407401 [first_name] => Donald Elvert [last_name] => Scott [1. How did you hear about us?] => [WORKSHEET ID] => )

我希望在上面的代码中获得TIMESTAMP key

0 个答案:

没有答案