I am looking for an efficient way to pull the data I want out of an array called $submission_info so I can easily auto-fill my form fields. The array size is about 120.
I want to find the field name and extract the content. In this case, the field name is loanOfficer and the content is 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 )
I want to find the field name and extract the content. In this case, the field name is loanOfficer and the content is John Doe.