Projects


$innerArray){ $photo_result = getPhotoMain($connection, $innerArray['product_id']); if (empty($photo_result)) { $photo_result = getPhoto($connection, $innerArray['product_id']); } $photo_id = ''; foreach($photo_result as $row2 => $arrPhoto){ $photo_id = $arrPhoto['photo_id']; } ?>