>> Read No. 13348 article  
게시판 할때 질문임다..

등록 2000-12-04 00:46:00     조회 2
이름 깽    

실행시키니 이런 에러가 나네요.
 Warning: Cannot add more header information - the header was already sent (header information may be added only before 
any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that outp
ut text) in ../nocache.inc on line 3  Warning: Cannot add more header information - the header was already sent (header 
information may be added only before any output is generated from the script - check for text or whitespace outside PHP 
tags, or calls to functions that output text) in ../nocache.inc on line 4  Warning: Cannot add more header information -
 the header was already sent (header information may be added only before any output is generated from the script - chec
k for text or whitespace outside PHP tags, or calls to functions that output text) in ../nocache.inc on line 5  Warning:
 Cannot add more header information - the header was already sent (header information may be added only before any outpu
t is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) 
in ../nocache.inc on line 6 ## dbconn.inc Warning:0 is not a MySQL result index in /usr/local/apache/htdocs/freeboard/v
iew_board.php on line 22  참고로 nocache.inc소스는 이렇숩니다.   <? header ("Expires: Mon, 25 Dec 2000 05:00:
00 GMT"); header ("Last-Modified:" . gmdate("D, d M Y H:i:s") . " GMT"); header("cache-contril: no-cache,must-revalidat
e"); header("pragma: no-cache") ; ?>
 뭐 제가 짠게 아니라..어디서 가져와서 하는건데요...
어떻게 하다보면 위의 5개의 warning중 위의것은 없어지고 맨 아래것은 계속 나옵니다.
 요것이 view_board.php의 소수 일부입니다.
  <?
$query = "select * from freeboard where num=$num";
$result = mysql_query($query);
$rs=mysql_fetch_array($result);   <==요기가 22행임다.
$content = StripSlashes($rs[content]);
$title = StripSlashes($rs[title]);
$content = nl2br($content);
$title = nl2br($title);
$fid = $rs[fid];
$thread = $rs[thread];
$counter = $rs[counter];
$date = date("Y-m-d",$rs[date]);
$tag = "page=".$page."&num=".$num."&key=".$key."&sel=".$sel;
?><?
$query = "select * from freeboard where num=$num";
$result = mysql_query($query);
$rs=mysql_fetch_array($result);
$content = StripSlashes($rs[content]);
$title = StripSlashes($rs[title]);
$content = nl2br($content);
$title = nl2br($title);
$fid = $rs[fid];
$thread = $rs[thread];
$counter = $rs[counter];
$date = date("Y-m-d",$rs[date]);
$tag = "page=".$page."&num=".$num."&key=".$key."&sel=".$sel;
?>
<?
$query = "select * from freeboard where num=$num";
$result = mysql_query($query);
$rs=mysql_fetch_array($result);
$content = StripSlashes($rs[content]);
$title = StripSlashes($rs[title]);
$content = nl2br($content);
$title = nl2br($title);
$fid = $rs[fid];
$thread = $rs[thread];
$counter = $rs[counter];
$date = date("Y-m-d",$rs[date]);
$tag = "page=".$page."&num=".$num."&key=".$key."&sel=".$sel;
?>
 하루종일 했는데 안되네요..헉..--이 곳에 서명을 적어주십시오.
 시러요..
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.58 초 ] 작업시간: [ 0.05 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789700075
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.