메인화면 한곳에 게시판글 내용 나오게 되나요?? 채택완료
방법이 있나요.. 제가 초보라 방법을 모르겠어요..
게시판의 글중 항상 마지막에 등록된 글의 내용이 메인 화면에 보여지게 하고 싶어요..
예)
http://sir.kr/data/editor/1605/83d48023e00ef1e80aa3d0e6dd4b978e_1463416914_749.JPG" title="83d48023e00ef1e80aa3d0e6dd4b978e_1463416914_749.JPG" alt="83d48023e00ef1e80aa3d0e6dd4b978e_1463416" style="margin: 0px; padding: 0px; border: 0px; vertical-align: middle; max-width: 100%;">
답변 2개
for문 내 $list[$i]['subject']을 $list[$i]['content'] 바꿔 넣어 보세요.
최신글 스킨이 어떻게 되어 있는지 모르니 될지는 모르겠네요 ㅎㅎ
댓글을 작성하려면 로그인이 필요합니다.
skin > latest > basic 폴더를 복사해 붙여넣기 하신 다음 폴더이름을 lotto 등오로 적당히
바꾼후 그 안에 있는 latest.skin.php 파일을 원하시는 대로 수정하시면 되겠네요.
그리고 불러오는 위치에 다음처럼 넣으시고요...
</p><p><?php</p><p>echo latest("lotto", $row['bo_table'], 1, 25); </p><p>?></p><p>
답변에 대한 댓글 4개
$row['bo_table'] 은 게시판 이름이 1 이면 어떻게 적어야 하나요?
게시판id가 test라면 echo latest("lotto","test",1,25);로 하세요.
그런데 제목이 나타나고 안에 내용은 클릭해야 나오네요..
저는 글안에 있는 내용을 표시하고 싶어서요..
도움을 더 요청드려도 될까요ㅜㅜ
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
Warning: include(/home2/bujadaco/public_html/skin/latest/lotto/latest.skin.php): failed to open stream: No such file or directory in /home2/bujadaco/public_html/lib/latest.lib.php on line 76
Warning: include(): Failed opening '/home2/bujadaco/public_html/skin/latest/lotto/latest.skin.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/bujadaco/public_html/lib/latest.lib.php on line 76
이런에러가 나오네요 ㅠㅜ