<?
include "dbcon.php";
if($num == "")
{popup_back("잘못된 경로 입니다.");}
include "dbcon.php";
if($num == "")
{popup_back("잘못된 경로 입니다.");}
$sql = "select * from message wgere num = $num";
$res = mysql_query($sql);
show();
mysql_close($con);
//--------------show()함수--------------//
function show()
{
global $res;
//--------------show()함수--------------//
function show()
{
global $res;
$num = mysql_result($res, 0, 'num');
$name = mysql_result($res, 0, 'name');
$email = mysql_result($res, 0, 'email');
$message = mysql_result($res, 0, 'message');
$writedate = mysql_result($res, 0, 'writedate');
$sourceip = mysql_result($res, 0, 'sourceip');
$name = mysql_result($res, 0, 'name');
$email = mysql_result($res, 0, 'email');
$message = mysql_result($res, 0, 'message');
$writedate = mysql_result($res, 0, 'writedate');
$sourceip = mysql_result($res, 0, 'sourceip');
echo("
<table border=1>
<tr>
<td>번호</td>
<td>이름</td>
<td>이메일</td>
<td>작성일</td>
<td>IP</td>
</tr>
<tr>
<td colspan=5>메시지</td>
</tr>
</table>
");
}
//--------------show()함수--------------//
?>
<table border=1>
<tr>
<td>번호</td>
<td>이름</td>
<td>이메일</td>
<td>작성일</td>
<td>IP</td>
</tr>
<tr>
<td colspan=5>메시지</td>
</tr>
</table>
");
}
//--------------show()함수--------------//
?>
이렇게 했거든여
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 18
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 19
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 20
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 21
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 22
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 23
이런 에러가나네요
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 19
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 20
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 21
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 22
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AutoSet6\public_html\view.php on line 23
이런 에러가나네요
mysql연결은 다되있고 확인까지 했는데 저러네용;;
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 32341 | |
| 32339 | |
| 32326 | |
| 32325 | |
| 32322 | |
| 32319 | |
| 32318 | |
| 32316 | |
| 32315 | |
| 32313 | |
| 32312 | |
| 32311 | |
| 32310 | |
| 32304 | |
| 32303 | |
| 32300 | |
| 32293 | |
| 32292 | |
| 32291 | |
| 32285 | |
| 32284 | |
| 32275 | |
| 32271 | |
| 32268 | |
| 32265 | |
| 32261 | |
| 32258 | |
| 32257 | |
| 32255 | |
| 32254 | |
| 32253 | |
| 32251 | |
| 32250 | |
| 32249 | |
| 32247 | |
| 32246 | |
| 32245 | |
| 32244 | |
| 32243 | |
| 32242 | |
| 32241 | |
| 32240 | |
| 32239 | |
| 32238 | |
| 32237 | |
| 32236 | |
| 32232 | |
| 32229 | |
| 32228 | |
| 32227 | |
| 32217 | |
| 32215 | |
| 32214 | |
| 32213 | |
| 32211 | |
| 32207 | |
| 32196 | |
| 32193 | |
| 32192 | |
| 32190 | |
| 32188 | |
| 32186 | |
| 32184 | |
| 32173 | |
| 32172 | |
| 32171 | |
| 32167 | |
| 32165 | |
| 32163 | |
| 32162 | |
| 32158 | |
| 32157 | |
| 32155 | |
| 32151 | |
| 32149 | |
| 32135 | |
| 32132 | |
| 32127 | |
| 32125 | |
| 32122 | |
| 32120 | |
| 32119 | |
| 32117 | |
| 32116 | |
| 32115 | |
| 32114 | |
| 32112 | |
| 32111 | |
| 32109 | |
| 32107 | |
| 32104 | |
| 32103 | |
| 32102 | |
| 32101 | |
| 32094 | |
| 32089 | |
| 20404 | |
| 31036 | |
| 8279 | |
| 8268 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기