the json data nested as below, how do i print out the value via loop, for example print out the value of the staff code and nick_name?
enter code here { "EmpJob": { "Item": [ { "staff_code": "100", "last_update_date": "2021-04-29T00:00:00.000", "emp_birthday": "1970-05-03T00:00:00.000", "nick_name": "KEN ", "passport_first_name": "", "passport_last_name": "", "emp_ydate": "2017-06-28T00:00:00.000", "quit_date": "2020-01-31T00:00:00.000" } ] }
}
https://stackoverflow.com/questions/67310484/how-do-i-print-out-the-value-of-json-decode-data-with-php April 29, 2021 at 11:06AM
没有评论:
发表评论