php 질문 드립니다!!!

제가 그누보드4 최근게시물 스킨을 위 사진과 같이 적용을 성공했는데
아래사진처럼 밑에 최신게시물을 하나 더 만들고싶거든요. (아래사진은 그림판으로 조작한거에요)

어떻게 해야할까요?
아래는 제 index.php 파일 소스입니다. 배추빌더4 라이트 index.php 파일에서 수정했습니다.
Copy
<?include_once("./_common.php"); $g4['title'] = "";include_once("./_head.php");?> <style type="text/css">.item { margin:0 0 10px 0; }</style> <table border="0" cellpadding="0" cellspacing="0" width="100%"><?$sql = "select * from $g4[board_table] where bo_use_search = '1' order by bo_order_search";$qry = sql_query($sql);for ($i=0; $row=sql_fetch_array($qry); $i++) {?> <tr> <td width="350" valign="top"> <?php include "$g4[path]/skin/latest/tab_scroll/tab_scroll.php"; ?> </td> <td width="10"></td> <td width="345" valign="top"> <? $row = sql_fetch_array($qry); $i++; if ($row) { ?> <? } ?> </td></tr> <? } ?></table> <?include_once("./_tail.php"); ?>
답변 1개
8년 전
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<?
$sql = "select * from $g4[board_table] where bo_use_search = '1' order by bo_order_search";
$qry = sql_query($sql);
for ($i=0; $row=sql_fetch_array($qry); $i++) {
?>
<tr>
<td width="350" valign="top">
<?php include "$g4[path]/skin/latest/tab_scroll/tab_scroll.php"; ?>
</td>
<td width="10"></td>
<td width="345" valign="top">
<?
$row = sql_fetch_array($qry); $i++;
if ($row) {
?>
<? } ?>
</td>
</tr>
<? } ?>
</table>밑에 한번더 복사 붙여넣기요.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 2개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인