메인페이지에 최신글 추출 문제 부탁드립니다.
본문
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="8%"> </td>
<td align="right" valign="top"><img src="images/notice.jpg" width="292" height="54" />
</table></td>
</body>
</html>
소스입니다.
진한 글씨 부분 밑으로 최신글을 추출하고 싶은데 소스 좀 자세히 알려주세요ㅠㅠ
참고로 경로는 이렇게 되어있습니다.
답변 1
gnuboard4 폴더 안에 파일을 모두를 현재 index.html 폴더로 옮겨야 되요
그리고 나서 <?=latest("basic", "게시판ID", 5, 30)?>
이런식으로 하면 출력 되요