<?
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시간 정도 강좌못보고 머물러있었네요 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8030 | 9년 전 | 399 | ||
| 8029 | 9년 전 | 324 | ||
| 8028 | 9년 전 | 284 | ||
| 8027 | 9년 전 | 294 | ||
| 8026 | 9년 전 | 364 | ||
| 8025 | 9년 전 | 403 | ||
| 8024 | 9년 전 | 371 | ||
| 8023 | 9년 전 | 412 | ||
| 8022 | 9년 전 | 329 | ||
| 8021 | 9년 전 | 348 | ||
| 8020 | 9년 전 | 341 | ||
| 8019 | 9년 전 | 360 | ||
| 8018 | 9년 전 | 462 | ||
| 8017 | 9년 전 | 551 | ||
| 8016 | 9년 전 | 362 | ||
| 8015 | 9년 전 | 405 | ||
| 8014 | 9년 전 | 340 | ||
| 8013 | 9년 전 | 256 | ||
| 8012 | 9년 전 | 261 | ||
| 8011 | 9년 전 | 462 | ||
| 8010 | 9년 전 | 317 | ||
| 8009 | 9년 전 | 326 | ||
| 8008 | 9년 전 | 301 | ||
| 8007 | 9년 전 | 451 | ||
| 8006 | 9년 전 | 486 | ||
| 8005 |
|
9년 전 | 984 | |
| 8004 | 9년 전 | 372 | ||
| 8003 | 9년 전 | 443 | ||
| 8002 | 9년 전 | 337 | ||
| 8001 |
|
9년 전 | 682 | |
| 8000 | 9년 전 | 441 | ||
| 7999 | 9년 전 | 398 | ||
| 7998 | 9년 전 | 451 | ||
| 7997 | 9년 전 | 324 | ||
| 7996 | 9년 전 | 556 | ||
| 7995 | 9년 전 | 491 | ||
| 7994 | 9년 전 | 368 | ||
| 7993 | 9년 전 | 430 | ||
| 7992 | 9년 전 | 532 | ||
| 7991 | 9년 전 | 277 | ||
| 7990 | 9년 전 | 306 | ||
| 7989 | 9년 전 | 322 | ||
| 7988 | 9년 전 | 749 | ||
| 7987 | 9년 전 | 452 | ||
| 7986 | 9년 전 | 447 | ||
| 7985 | 9년 전 | 528 | ||
| 7984 | 9년 전 | 446 | ||
| 7983 | 9년 전 | 689 | ||
| 7982 | 9년 전 | 549 | ||
| 7981 | 9년 전 | 502 | ||
| 7980 | 9년 전 | 522 | ||
| 7979 | 9년 전 | 511 | ||
| 7978 | 9년 전 | 481 | ||
| 7977 | 9년 전 | 417 | ||
| 7976 | 9년 전 | 874 | ||
| 7975 | 9년 전 | 388 | ||
| 7974 | 9년 전 | 416 | ||
| 7973 | 9년 전 | 622 | ||
| 7972 | 9년 전 | 404 | ||
| 7971 | 9년 전 | 475 | ||
| 7970 | 9년 전 | 322 | ||
| 7969 | 9년 전 | 560 | ||
| 7968 | 9년 전 | 404 | ||
| 7967 | 9년 전 | 390 | ||
| 7966 | 9년 전 | 401 | ||
| 7965 |
|
9년 전 | 1035 | |
| 7964 | 9년 전 | 424 | ||
| 7963 | 9년 전 | 431 | ||
| 7962 | 9년 전 | 419 | ||
| 7961 |
전갈자리남자
|
9년 전 | 520 | |
| 7960 | 9년 전 | 987 | ||
| 7959 | 9년 전 | 567 | ||
| 7958 | 9년 전 | 427 | ||
| 7957 | 9년 전 | 381 | ||
| 7956 | 9년 전 | 377 | ||
| 7955 | 9년 전 | 478 | ||
| 7954 | 9년 전 | 406 | ||
| 7953 | 9년 전 | 456 | ||
| 7952 | 9년 전 | 380 | ||
| 7951 | 9년 전 | 517 | ||
| 7950 | 9년 전 | 413 | ||
| 7949 | 9년 전 | 402 | ||
| 7948 | 9년 전 | 341 | ||
| 7947 | 9년 전 | 953 | ||
| 7946 | 9년 전 | 464 | ||
| 7945 | 9년 전 | 418 | ||
| 7944 | 9년 전 | 462 | ||
| 7943 | 9년 전 | 403 | ||
| 7942 | 9년 전 | 421 | ||
| 7941 | 9년 전 | 414 | ||
| 7940 | 9년 전 | 915 | ||
| 7939 | 9년 전 | 388 | ||
| 7938 | 9년 전 | 417 | ||
| 7937 | 9년 전 | 306 | ||
| 7936 | 9년 전 | 900 | ||
| 7935 | 9년 전 | 480 | ||
| 7934 | 9년 전 | 450 | ||
| 7933 | 9년 전 | 566 | ||
| 7932 | 9년 전 | 522 | ||
| 7931 | 9년 전 | 575 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기