<?
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시간 정도 강좌못보고 머물러있었네요 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7130 | 11년 전 | 2306 | ||
| 7129 | 11년 전 | 711 | ||
| 7128 |
senseme
|
11년 전 | 1302 | |
| 7127 | 11년 전 | 1177 | ||
| 7126 | 11년 전 | 824 | ||
| 7125 | 11년 전 | 2954 | ||
| 7124 | 11년 전 | 1428 | ||
| 7123 |
잘살아보자
|
11년 전 | 1291 | |
| 7122 |
잘살아보자
|
11년 전 | 689 | |
| 7121 |
잘살아보자
|
11년 전 | 3052 | |
| 7120 |
잘살아보자
|
11년 전 | 2919 | |
| 7119 |
잘살아보자
|
11년 전 | 735 | |
| 7118 |
잘살아보자
|
11년 전 | 3435 | |
| 7117 |
잘살아보자
|
11년 전 | 854 | |
| 7116 | 11년 전 | 749 | ||
| 7115 | 11년 전 | 1038 | ||
| 7114 | 11년 전 | 855 | ||
| 7113 | 11년 전 | 669 | ||
| 7112 | 11년 전 | 1088 | ||
| 7111 | 11년 전 | 1800 | ||
| 7110 | 11년 전 | 1036 | ||
| 7109 |
버섯먹은나
|
11년 전 | 816 | |
| 7108 | 11년 전 | 652 | ||
| 7107 | 11년 전 | 2414 | ||
| 7106 | 11년 전 | 1963 | ||
| 7105 | 11년 전 | 2486 | ||
| 7104 | 11년 전 | 1425 | ||
| 7103 |
|
11년 전 | 2715 | |
| 7102 | 11년 전 | 3123 | ||
| 7101 | 11년 전 | 4447 | ||
| 7100 | 11년 전 | 5795 | ||
| 7099 | 11년 전 | 2144 | ||
| 7098 | 11년 전 | 1726 | ||
| 7097 | 11년 전 | 1466 | ||
| 7096 | 11년 전 | 1133 | ||
| 7095 |
잘살아보자
|
11년 전 | 859 | |
| 7094 |
잘살아보자
|
11년 전 | 1066 | |
| 7093 |
잘살아보자
|
11년 전 | 942 | |
| 7092 |
잘살아보자
|
11년 전 | 1414 | |
| 7091 |
잘살아보자
|
11년 전 | 2214 | |
| 7090 |
잘살아보자
|
11년 전 | 897 | |
| 7089 | 11년 전 | 1072 | ||
| 7088 | 11년 전 | 1718 | ||
| 7087 | 11년 전 | 1413 | ||
| 7086 | 11년 전 | 1315 | ||
| 7085 |
|
11년 전 | 1240 | |
| 7084 | 11년 전 | 1158 | ||
| 7083 | 11년 전 | 3507 | ||
| 7082 | 11년 전 | 1156 | ||
| 7081 | 11년 전 | 1742 | ||
| 7080 | 11년 전 | 2026 | ||
| 7079 | 11년 전 | 1335 | ||
| 7078 | 11년 전 | 1307 | ||
| 7077 | 11년 전 | 1314 | ||
| 7076 | 11년 전 | 773 | ||
| 7075 | 11년 전 | 1155 | ||
| 7074 |
네이비칼라
|
11년 전 | 1510 | |
| 7073 | 11년 전 | 1481 | ||
| 7072 |
|
11년 전 | 836 | |
| 7071 | 11년 전 | 1211 | ||
| 7070 | 11년 전 | 938 | ||
| 7069 | 11년 전 | 1711 | ||
| 7068 | 11년 전 | 1368 | ||
| 7067 |
TPSint
|
11년 전 | 750 | |
| 7066 | 11년 전 | 2155 | ||
| 7065 | 11년 전 | 6655 | ||
| 7064 | 11년 전 | 1299 | ||
| 7063 | 11년 전 | 1145 | ||
| 7062 | 11년 전 | 1081 | ||
| 7061 | 11년 전 | 923 | ||
| 7060 | 11년 전 | 1477 | ||
| 7059 | 11년 전 | 887 | ||
| 7058 |
EngineMan
|
11년 전 | 3409 | |
| 7057 | 11년 전 | 1251 | ||
| 7056 | 11년 전 | 1642 | ||
| 7055 | 11년 전 | 1024 | ||
| 7054 | 11년 전 | 2661 | ||
| 7053 |
네이비칼라
|
11년 전 | 1292 | |
| 7052 | 11년 전 | 2584 | ||
| 7051 | 11년 전 | 1946 | ||
| 7050 | 11년 전 | 2460 | ||
| 7049 | 11년 전 | 1421 | ||
| 7048 | 11년 전 | 2540 | ||
| 7047 | 11년 전 | 1363 | ||
| 7046 | 11년 전 | 1043 | ||
| 7045 | 11년 전 | 1069 | ||
| 7044 | 11년 전 | 5442 | ||
| 7043 | 11년 전 | 1235 | ||
| 7042 | 11년 전 | 794 | ||
| 7041 |
열라뽕똬이
|
11년 전 | 765 | |
| 7040 | 11년 전 | 1118 | ||
| 7039 | 11년 전 | 1472 | ||
| 7038 | 11년 전 | 1884 | ||
| 7037 | 11년 전 | 2187 | ||
| 7036 | 11년 전 | 1092 | ||
| 7035 | 11년 전 | 1414 | ||
| 7034 | 11년 전 | 1367 | ||
| 7033 |
열라뽕똬이
|
11년 전 | 1002 | |
| 7032 | 11년 전 | 757 | ||
| 7031 | 11년 전 | 2192 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기