그누보드 초보 외부 추출 게시물 질문이요!! 정보
그누보드 초보 외부 추출 게시물 질문이요!!본문
오늘 그누보드 다운받고 이것저것 해보고 있는데요..
일단 드림위버로 index.html을 만들었는데요 그누보드 깔면 index.php가 있잖아요
그 index.php에 원래 만들었던 디자인을 덮어서 연습중인데요..
상단에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?=outlogin("basic")?></td>
</tr>
</table>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?=latest("basic", "test", 5, 70);?></td>
</tr>
</table>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/brand_04.gif" width="960" height="801" /></td>
</tr>
</table>
<?
include_once("./_tail.php");
?>
이렇게 코드 넣어서 메인 출력할려고 하는데 로그인까지는 되는데 최근게시물 추출부분에서 자꾸 에러가 나네요..ㅠ.ㅠ
select * from g4_write_test where wr_is_comment = 0 order by wr_num limit 0, 5
1146 : Table 'appletr.g4_write_test' doesn't exist
error file : /index.php
이런 메세지가 뜨는데
어떤 부분이 잘못된건가요??
일단 드림위버로 index.html을 만들었는데요 그누보드 깔면 index.php가 있잖아요
그 index.php에 원래 만들었던 디자인을 덮어서 연습중인데요..
상단에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?=outlogin("basic")?></td>
</tr>
</table>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?=latest("basic", "test", 5, 70);?></td>
</tr>
</table>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/brand_04.gif" width="960" height="801" /></td>
</tr>
</table>
<?
include_once("./_tail.php");
?>
이렇게 코드 넣어서 메인 출력할려고 하는데 로그인까지는 되는데 최근게시물 추출부분에서 자꾸 에러가 나네요..ㅠ.ㅠ
select * from g4_write_test where wr_is_comment = 0 order by wr_num limit 0, 5
1146 : Table 'appletr.g4_write_test' doesn't exist
error file : /index.php
이런 메세지가 뜨는데
어떤 부분이 잘못된건가요??
댓글 전체

test 라는 id(bo_table)를 가진 게시판이 없다는 뜻입니다.
Test 라는 게시판이 있는가 보세요 테이블이 없을때 나는 에러갔습니다
아고..ㅠ.ㅠ 감사합니다..바보같은 실수를 그만..댓글 감사드립니다.