I\'m fetching some JSON from flickrs API. My problem is that the exif data is in different order depending on the camera. So I can\'t hard-code an array number to get, for i
This would be fairly trivial to implement:
$model = ''; foreach ($exif['photo']['exif'] as $data) { if ($data['label'] == 'Model') { $model = $data['raw']['_content']; break; } }