<?
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개
13년 전
설마? wgere => where
??
??
13년 전
아우 진짜 아 너무 감사해요 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
제가봐도 너무 한심하네요 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
아우나 ㅋㅋ 저거하나때문에 아 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 몇시간동안 3시간 정도 강좌못보고 머물러있었네요 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
제가봐도 너무 한심하네요 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
아우나 ㅋㅋ 저거하나때문에 아 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 몇시간동안 3시간 정도 강좌못보고 머물러있었네요 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8130 | 9년 전 | 480 | ||
| 8129 |
|
9년 전 | 634 | |
| 8128 | 9년 전 | 506 | ||
| 8127 |
|
9년 전 | 572 | |
| 8126 | 9년 전 | 494 | ||
| 8125 | 9년 전 | 755 | ||
| 8124 |
|
9년 전 | 497 | |
| 8123 | 9년 전 | 485 | ||
| 8122 | 9년 전 | 419 | ||
| 8121 | 9년 전 | 523 | ||
| 8120 | 9년 전 | 452 | ||
| 8119 | 9년 전 | 533 | ||
| 8118 |
|
9년 전 | 618 | |
| 8117 |
|
9년 전 | 391 | |
| 8116 |
PASKRAN
|
9년 전 | 459 | |
| 8115 | 9년 전 | 450 | ||
| 8114 |
kiplayer
|
9년 전 | 591 | |
| 8113 | 9년 전 | 427 | ||
| 8112 |
|
9년 전 | 546 | |
| 8111 | 9년 전 | 398 | ||
| 8110 | 9년 전 | 434 | ||
| 8109 | 9년 전 | 350 | ||
| 8108 |
|
9년 전 | 530 | |
| 8107 |
|
9년 전 | 424 | |
| 8106 |
|
9년 전 | 418 | |
| 8105 | 9년 전 | 463 | ||
| 8104 |
|
9년 전 | 419 | |
| 8103 |
|
9년 전 | 417 | |
| 8102 |
|
9년 전 | 379 | |
| 8101 |
snshero
|
9년 전 | 764 | |
| 8100 | 9년 전 | 822 | ||
| 8099 | 9년 전 | 789 | ||
| 8098 | 9년 전 | 700 | ||
| 8097 | 9년 전 | 494 | ||
| 8096 | 9년 전 | 693 | ||
| 8095 | 9년 전 | 825 | ||
| 8094 | 9년 전 | 496 | ||
| 8093 | 9년 전 | 782 | ||
| 8092 | 9년 전 | 745 | ||
| 8091 | 9년 전 | 1133 | ||
| 8090 | 9년 전 | 754 | ||
| 8089 | 9년 전 | 953 | ||
| 8088 | 9년 전 | 625 | ||
| 8087 | 9년 전 | 740 | ||
| 8086 | 9년 전 | 505 | ||
| 8085 | 9년 전 | 473 | ||
| 8084 | 9년 전 | 604 | ||
| 8083 | 9년 전 | 576 | ||
| 8082 | 9년 전 | 745 | ||
| 8081 | 9년 전 | 458 | ||
| 8080 | 9년 전 | 553 | ||
| 8079 | 9년 전 | 503 | ||
| 8078 | 9년 전 | 430 | ||
| 8077 | 9년 전 | 508 | ||
| 8076 | 9년 전 | 393 | ||
| 8075 | 9년 전 | 415 | ||
| 8074 | 9년 전 | 374 | ||
| 8073 | 9년 전 | 430 | ||
| 8072 | 9년 전 | 422 | ||
| 8071 |
o1o111
|
9년 전 | 873 | |
| 8070 | 9년 전 | 386 | ||
| 8069 | 9년 전 | 316 | ||
| 8068 | 9년 전 | 575 | ||
| 8067 | 9년 전 | 381 | ||
| 8066 | 9년 전 | 413 | ||
| 8065 | 9년 전 | 359 | ||
| 8064 | 9년 전 | 343 | ||
| 8063 | 9년 전 | 315 | ||
| 8062 | 9년 전 | 294 | ||
| 8061 | 9년 전 | 340 | ||
| 8060 | 9년 전 | 366 | ||
| 8059 | 9년 전 | 301 | ||
| 8058 | 9년 전 | 234 | ||
| 8057 | 9년 전 | 371 | ||
| 8056 | 9년 전 | 292 | ||
| 8055 | 9년 전 | 334 | ||
| 8054 | 9년 전 | 345 | ||
| 8053 | 9년 전 | 392 | ||
| 8052 | 9년 전 | 278 | ||
| 8051 | 9년 전 | 314 | ||
| 8050 | 9년 전 | 381 | ||
| 8049 | 9년 전 | 307 | ||
| 8048 | 9년 전 | 419 | ||
| 8047 | 9년 전 | 341 | ||
| 8046 | 9년 전 | 277 | ||
| 8045 | 9년 전 | 242 | ||
| 8044 | 9년 전 | 329 | ||
| 8043 | 9년 전 | 264 | ||
| 8042 | 9년 전 | 276 | ||
| 8041 | 9년 전 | 324 | ||
| 8040 | 9년 전 | 248 | ||
| 8039 | 9년 전 | 304 | ||
| 8038 | 9년 전 | 257 | ||
| 8037 | 9년 전 | 382 | ||
| 8036 | 9년 전 | 458 | ||
| 8035 | 9년 전 | 415 | ||
| 8034 | 9년 전 | 379 | ||
| 8033 | 9년 전 | 335 | ||
| 8032 | 9년 전 | 401 | ||
| 8031 | 9년 전 | 327 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기