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

등록 2000-12-04 00:46:00 By localhost     조회 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;
?>
 하루종일 했는데 안되네요..헉..--이 곳에 서명을 적어주십시오.
 시러요..
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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