Jump to content

how to call object without foreach ?


linux1880

Recommended Posts

Well the variable $images appearers to be a multi-dimensional array. How is this array formatted?

 

To display an image from the array, aslong as you know how it is formatted you can do

				<img src="<?php echo $images['some_key_here']['url']; ?>">" />
			<img src="<?php echo $image['some_key_here']['thumb_url']; ?>" />

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.