Hi Everyone, I have a foreach array that prints out images one per line.
How can I print images out so I have 3 per line ?
here is the code I am working with.
if (count($friendDataRawArray) > 0) {
foreach ( $friendDataRawArray as $id => $friend) {
//$name = $friend['name'];
$photo = $friend['photo'];
$html .= '<div class="fb-friend"><img src="' . $photo . '" alt="" class="fb-friend-img" /></div>';
It is driving me nuts, any help, and learning curve very much appreciated.