Jump to content

[SOLVED] Echo variable in array...


cgm225

Recommended Posts

When I print this array I have (let's call it $image), I get the following...

Printed output of $image array::

Array
(
    [FileName] => large_thumbnail-0.jpg
    [FileDateTime] => 1180739942
    [FileSize] => 186845
    [FileType] => 2
    [MimeType] => image/jpeg
    [sectionsFound] => ANY_TAG, IFD0, THUMBNAIL, EXIF, INTEROP, MAKERNOTE
    [COMPUTED] => Array
        (
            [html] => width="500" height="375"
            [Height] => 375
            [Width] => 500
            [isColor] => 1
            [byteOrderMotorola] => 0
            [CCDWidth] => 5mm
            [ApertureFNumber] => f/3.2
            [userComment] => 
            [userCommentEncoding] => UNDEFINED
            [Thumbnail.FileType] => 2
            [Thumbnail.MimeType] => image/jpeg
        )
)

 

How would I echo just the "html" field?

 

Thank you all in advance!

 

cgm225

Link to comment
https://forums.phpfreaks.com/topic/55302-solved-echo-variable-in-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.