我正在寻找一种有效的方法来将我想要的数据从名为 $submission_info 的数组中提取出来,这样我就可以轻松地自动填充我的表单字段。数组大小约为 120。
我想找到字段名称并提取内容。在本例中,字段名称为loanOfficer,内容为John Doe。
Output of Print_r($submission_info[1]):
Array (
[field_id] => 2399
[form_id] => 4
[field_name] => loanOfficer
[field_test_value] => ABCDEFGHIJKLMNOPQRSTUVWXYZ
[field_size] => medium
[field_type] => other
[data_type] => string
[field_title] => LoanOfficer
[col_name] => loanOfficer
[list_order] => 2
[admin_display] => yes
[is_sortable] => yes
[include_on_redirect] => yes
[option_orientation] => vertical
[file_upload_dir] =>
[file_upload_url] =>
[file_upload_max_size] => 1000000
[file_upload_types] =>
[content] => John Doe
)
我想找到字段名称并提取内容。在本例中,字段名称为loanOfficer,内容为John Doe。