안녕하세요 영카드 이용후기 한줄에 2개씩 나오게 하고 싶픈데요.
본문
<?php
$thumbnail_width = 500;
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$num = $total_count - ($page - 1) * $rows - $i;
$star = get_star($row['is_score']);
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
$row2 = sql_fetch(" select it_name from {$g5['g5_shop_item_table']} where it_id = '{$row['it_id']}' ");
$it_href = G5_SHOP_URL."/item.php?it_id={$row['it_id']}";
if ($i == 0) echo '<ol>';
?>
현재는 한줄에 1개 나와서, 너무 오른쪽 여백이 많아서 한줄에 2개씩 이용후기 출력 하고 싶픈데요 ㅜ
for문 어디를 수정해야 될까요 ㅜ
고수님 답변 부탁드리겠습니다. 감사합니다.
답변을 작성하시기 전에 로그인 해주세요.