- tayknight
- Wednesday, July 26th, 2006 at 2:59:30pm MDT
- The original array:
- Array
- (
- [0] => Array
- (
- [Tags Name] => TIFF
- [271] => Array
- (
- [Data] => Array
- (
- [0] => Canon
- )
- )
- [272] => Array
- (
- [Tag Name] => Model
- [Tag Description] =>
- [Type] => String
- )
- )
- [34665] => Array
- (
- [Data] => Array
- (
- [0] => Array
- (
- [33434] => Array
- (
- [Data] => Array
- (
- [0] => Array
- (
- [Numerator] => 1
- [Denominator] => 60
- )
- )
- )
- [33437] => Array
- (
- [Tag Name] => Aperture F Number
- [Data] => Array
- (
- [0] => Array
- (
- [Numerator] => 35
- [Denominator] => 10
- )
- )
- )
- )
- )
- )
- )
- I want to get the piece of data that is 'Canon' in the array at:
- [0][271][Data][0]
- and I also need to get the piece of data that says 'Model' in the array at:
- [0][272][Tag Name]
- but I also need to let my user define a key, so he might want to get
- [0][34665][Data][0][33434][Data][0][Numerator]
- 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.
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.