I am pulling JSON data from an API URL. I need to pull specific KEYS and put them into a table with columns and rows. 6 (col) x 20+ (rows). The KEYS are all duplicate (val,
I resolved this:
Last Name
Street
City
State
Zip Code
';
foreach ($eachEntry as $entry) {
$FL = $entry['no'];
//printf("\n");
$entries = $entry['FL'];
echo '';
foreach ($entries as $value) {
$val = $value['val'];
$content = $value['content'];
if (in_array($val, $valuesIWant)) {
//$out = $val;
$out2 = $content;
//echo ''. $out .' ';
echo ''. $out2 .' ';
}
}
echo ' ';
}
echo '