안녕하세요 홈페이지 제작중인데요 최신글 불러오기좀 여쭤볼께영... > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

안녕하세요 홈페이지 제작중인데요 최신글 불러오기좀 여쭤볼께영... 정보

안녕하세요 홈페이지 제작중인데요 최신글 불러오기좀 여쭤볼께영...

본문

일단 여차 저차 최신글을 불러온듯한데 위에에러메시지  왜그런거에여??????

여기 저기 검색해서
<html xmlns="http://www.w3.org/1999/xhtml">

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>


<head>

헤드위에 넣었구요.

바디부분 div 게시판들어갈부분은

<div id="left01">
      <?

      <?  echo latest("basic",'table1', 5, 26);  ?>
      </div>

보드위치는 /board 에 있구요

에러가 나더라구요... 최종적으론 여기에 최신글을 불러온후 실시간으로 롤링되는걸 넣을꺼거든요..

많은 고수님들 답변 부탁드려요 ^^


맨위에 뜨는에러
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/desport/www/index.html:4) in /home/hosting_users/desport/www/board/common.php on line 8

_common.php -----index.html있는 경로에 만들었구요 내용은
<?
$g4_path = "./board"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
  • 복사

댓글 전체

ㅎㅎ 해결됐습니다

<html xmlns="http://www.w3.org/1999/xhtml">

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>

이걸
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>

<html xmlns="http://www.w3.org/1999/xhtml">

이렇게하니깐 오류가 없어지네여.
© SIRSOFT
현재 페이지 제일 처음으로