가로로 나오게 하려면 어떻게해야하나요
본문
출력하면 세로로 나오는데 가로로 나오게 하고싶은데요
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<?
$sql = "select * from $g4[yc4_item_ps_table] where is_confirm = 1 order by is_id desc limit 3 ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$star = get_star($row[is_score]);
$is_name = get_text($row[mb_id]);
$is_subject = strip_tags($row[is_subject]);
$is_subject = cut_str($is_subject, 40, "…");
$is_content = strip_tags($row[is_content]);
$is_content = cut_str($is_content, 120, "...");
$image = get_it_image("$row[it_id]_s", 150, 150, $row[it_id]);
$is_time = substr($row[is_time], 0, 10);
?>
<tr>
<td height="22" colspan="2" class="line" >·<a href="/youngcart4/shop/item.php?it_id=<?=$row[it_id]?>#review_item">
<?=$is_subject?>
</a></td>
</tr>
<tr>
<td width="65" height="60" class="prview_cont" style="padding-left:3px" ><?=$image?></td>
<td valign="top" class="prview_cont" ><a href="/youngcart4/shop/item.php?it_id=<?=$row[it_id]?>#review_item"><?=$is_content?></a> <span style="font-size:10px;"> <?=$is_name?>님</span></td></tr>
<? } ?>
</table>
답변 2
6 |
<tr> |
17 |
<td height= "22" colspan= "2" class = "line" >·<a href= "/youngcart4/shop/item.php?it_id=<?=$row[it_id]?>#review_item" > |
18 |
<?= $is_subject ?> |
19 |
</a></td> |
20 |
</tr> |
21 |
<tr> |
22 |
<td width= "65" height= "60" class = "prview_cont" style= "padding-left:3px" ><?= $image ?></td> |
23 |
<td valign= "top" class = "prview_cont" ><a href= "/youngcart4/shop/item.php?it_id=<?=$row[it_id]?>#review_item" ><?= $is_content ?></a> <span style= "font-size:10px;" > <?= $is_name ?>님</span></td></tr> |
많은 도움이 되었습니다. 감사합니다.
답변을 작성하시기 전에 로그인 해주세요.