Jump to content

kallegurra

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kallegurra's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Things are so easy when you see them...  :D Testet and it works great. Thanks alot!!!
  2. Hi! Im pretty new to php and all that stuff and I have been trying to figure out an array problem for a couple of days now. I havent been able to google or find anything that I can understand on php.net. I'm trying to build a web album with exif information from the images using code from php.net. With this piece of code I can get out the exif info, but I don't know how I choose which parts of the array I want to print out: [code]$exif = exif_read_data('path/to/image.jpg', 0, true); foreach ($exif as $key => $section) { foreach ($section as $name => $val) { echo "$key $name: $val<br>"; } }[/code] The above code part gives me all the exif info. But I just want to keep maybe 10 elements of the array. I have tried to sort out using brackets etc. But nothing works. Arrays isn't exactly my strong side...  :) Anyone who knows how to solve my problem?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.