Thsnks Tedd/ For the symbol "=>", how do we read it here? Are we assigning any values? On Sat, Jan 31, 2015 at 11:12 AM, Tedd Sperling <carol@xxxxxxxxxxxxxxx> wrote: > > .... > > $exif = exif_read_data($image); > > foreach ($exif as $key => $section) { > > foreach ($section as $name => $val) { > > ..... > > ..... > > > > What are we doing here in the "foreach"? What is "as"? > > This deals with arrays. > > > foreach ($exif as $key => $section) > > It is an extended for loop -- meaning use array $exif and loop through the > entire array extracting the keys/indexes (as $key) and values (as $section). > > Cheers, > > tedd > > _______________ > tedd sperling > tedd@xxxxxxxxxxxx > > > > > >