mrjameer Posted March 24, 2007 Share Posted March 24, 2007 hi, how to display an array of images using php.iam storing the images in array as follows.but how can i print these images. $arr1=array('back_test.jpg','horses.jpg'); thanks mrjameer Link to comment https://forums.phpfreaks.com/topic/44127-display-an-array-of-images-using-php/ Share on other sites More sharing options...
micmania1 Posted March 24, 2007 Share Posted March 24, 2007 foreach ($arr1 as $img) { echo '<img src="'.$img.'"><br>'; } Link to comment https://forums.phpfreaks.com/topic/44127-display-an-array-of-images-using-php/#findComment-214274 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.