그누보드 초보 외부 추출 게시물 질문이요!!
오늘 그누보드 다운받고 이것저것 해보고 있는데요..
일단 드림위버로 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
이런 메세지가 뜨는데
어떤 부분이 잘못된건가요??
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 3개