묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
제 소스와 아웃 로그인(최근 게시물)소스가 충돌합니다.
2003.11.05 23:01
<?
include("./include/info.php");
include("./include/connect.php");
$query="select no, title from daily order by no desc limit 5";
$result=mysql_query($query,$connect);
?>
<table width="95%">
<tr>
<td width="34%" valign="top">
<table border=0 width=100% cellpadding=2 cellspacing=1 bgcolor=#7F7FFF>
<tr>
<td bgcolor="#FFFFFF">daily</td>
</tr>
</table>
<table border=0 width=100% cellspacing=0 cellpadding=2>
<tr>
<td>
<?
while($daily=mysql_fetch_array($result)){
echo($daily["title"]);
}
?>
</td>
</tr>
</table>
</td>
<?
$query="select no, title from think order by no desc limit 5";
$result=mysql_query($query,$connect);
?>
<td width="33%" valign="top">
<table border=0 width=100% cellpadding=2 cellspacing=1 bgcolor=#7F7FFF>
<tr>
<td bgcolor="#FFFFFF">think</td>
</tr>
</table>
<table border=0 width=100% cellspacing=0 cellpadding=2>
<tr>
<td>
<?
while($daily=mysql_fetch_array($result)){
echo($think["title"]);
}
?>
</td>
</tr>
</table>
</td>
<?
$query="select no, title from stuff order by no desc limit 5";
$result=mysql_query($query,$connect);
?>
<td width="33%" valign="top">
<table border=0 width=100% cellpadding=2 cellspacing=1 bgcolor=#7F7FFF>
<tr>
<td bgcolor="#FFFFFF">stuff</td>
</tr>
</table>
<table border=0 width=100% cellspacing=0 cellpadding=2>
<tr>
<td>
<?
while($daily=mysql_fetch_array($result)){
echo($stuff["title"]);
}
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
이게 제 소스입니다.
인클루드 시키면 에러가 뜹니다.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:apm_setuphtdocsbbsoutlogin.php on line 194
테이블 'ngelqueen.zetyx_board_board' 는 존재하지 않습니다.
이게 에러입니다.
board 라는 게시판 분명히 생성했는데 이 ㅈㅣ -_- 랄 입니다.
슬픕니다.. 꾸에엑...
include("./include/info.php");
include("./include/connect.php");
$query="select no, title from daily order by no desc limit 5";
$result=mysql_query($query,$connect);
?>
<table width="95%">
<tr>
<td width="34%" valign="top">
<table border=0 width=100% cellpadding=2 cellspacing=1 bgcolor=#7F7FFF>
<tr>
<td bgcolor="#FFFFFF">daily</td>
</tr>
</table>
<table border=0 width=100% cellspacing=0 cellpadding=2>
<tr>
<td>
<?
while($daily=mysql_fetch_array($result)){
echo($daily["title"]);
}
?>
</td>
</tr>
</table>
</td>
<?
$query="select no, title from think order by no desc limit 5";
$result=mysql_query($query,$connect);
?>
<td width="33%" valign="top">
<table border=0 width=100% cellpadding=2 cellspacing=1 bgcolor=#7F7FFF>
<tr>
<td bgcolor="#FFFFFF">think</td>
</tr>
</table>
<table border=0 width=100% cellspacing=0 cellpadding=2>
<tr>
<td>
<?
while($daily=mysql_fetch_array($result)){
echo($think["title"]);
}
?>
</td>
</tr>
</table>
</td>
<?
$query="select no, title from stuff order by no desc limit 5";
$result=mysql_query($query,$connect);
?>
<td width="33%" valign="top">
<table border=0 width=100% cellpadding=2 cellspacing=1 bgcolor=#7F7FFF>
<tr>
<td bgcolor="#FFFFFF">stuff</td>
</tr>
</table>
<table border=0 width=100% cellspacing=0 cellpadding=2>
<tr>
<td>
<?
while($daily=mysql_fetch_array($result)){
echo($stuff["title"]);
}
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
이게 제 소스입니다.
인클루드 시키면 에러가 뜹니다.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:apm_setuphtdocsbbsoutlogin.php on line 194
테이블 'ngelqueen.zetyx_board_board' 는 존재하지 않습니다.
이게 에러입니다.
board 라는 게시판 분명히 생성했는데 이 ㅈㅣ -_- 랄 입니다.
슬픕니다.. 꾸에엑...