Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

tayknight
Wednesday, July 26th, 2006 at 2:59:30pm MDT 

  1. The original array:
  2. Array
  3. (
  4.  [0] => Array
  5.   (
  6.    [Tags Name] => TIFF
  7.    [271] => Array
  8.     (
  9.      [Data] => Array
  10.       (
  11.        [0] => Canon
  12.       )
  13.  
  14.     )
  15.  
  16.    [272] => Array
  17.     (
  18.      [Tag Name] => Model
  19.      [Tag Description] =>
  20.      [Type] => String
  21.     )
  22.   )
  23.   [34665] => Array
  24.     (
  25.      [Data] => Array
  26.       (
  27.        [0] => Array
  28.         (
  29.          [33434] => Array
  30.           (
  31.            [Data] => Array
  32.             (
  33.              [0] => Array
  34.               (
  35.                [Numerator] => 1
  36.                [Denominator] => 60
  37.               )
  38.             )
  39.           )
  40.          [33437] => Array
  41.           (
  42.            [Tag Name] => Aperture F Number
  43.            [Data] => Array
  44.             (
  45.              [0] => Array
  46.               (
  47.                [Numerator] => 35
  48.                [Denominator] => 10
  49.               )
  50.             )
  51.           )
  52.         )
  53.       )
  54.     )
  55. )
  56.  
  57. I want to get the piece of data that is 'Canon' in the array at:
  58. [0][271][Data][0]
  59. and I also need to get the piece of data that says 'Model' in the array at:
  60. [0][272][Tag Name]
  61. but I also need to let my user define a key, so he might want to get
  62. [0][34665][Data][0][33434][Data][0][Numerator]
  63. so I can't hardcode in all the values I need.

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

fantasy-obligation
fantasy-obligation