I have a custom field fw_options which looks like below. I am trying to extract data such as gender, _books_read, other_skills (especially this) etc but I can't get my head around this type of custom field. I know how to output a custom field using get_post_meta( get_the_ID(), I just don't know how to extract data from this kind of format. I am a complete beginner in PHP but I'm really trying to understand.
My Code
<span>$ <?php echo get_post_meta( get_the_ID(), 'fw_options', true ); ?></span>
Post Meta Key - fw_options Value (below)
0 =>
array (
'gender' => 'male',
'tag_line' => 'I like reading journals and thriller books,',
'_books_read' => 12,
'address' => '',
'longitude' => '',
'latitude' => '',
'country' =>
array (
0 => 720,
),
'other_skills' =>
array (
0 =>
array (
'other_skill' =>
array (
0 => '833',
),
'value' => '80',
),
1 =>
array (
'other_skill' =>
array (
0 => '507',
),
'value' => '99',
),
2 =>
array (
'other_skill' =>
array (
0 => '1169',
),
'value' => '99',
),
),
'current_books' =>
array (
),
'awards' =>
array (
),
'experience_level' =>
array (
),
'education_level' =>
array (
),
'banner_image' =>
array (
),
'resume' =>
array (
),
'tutorials' =>
array (
),
'english_level' => 'fluent',
'reader_type' => 'medium',
),
)