▒ 서브페이지 head 와 tail 은 어떻게 해야 하나요. 정보
▒ 서브페이지 head 와 tail 은 어떻게 해야 하나요.본문
매번 질문만 올리네요..
메인페이지는 head 와 tail 로 연결이 되는데
서브페이지의 head와 tail이 달라서 이것저것 검색해서 해보고 있는데...
어떻게 해야 할지..ㅠㅠ
파일명은 sub_01.php , sub_01.head.php , sub_01.tail.php 로 해 놨습니다.
sub_01.php 에서 인클루드를 어떻게 해야 불러 올 수 있는 건가요..
<?
include_once("./_common.php");
//include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
sub_01.php 에서 선언한 문장입니다.
도와 주세요~ㅠㅠ
메인페이지는 head 와 tail 로 연결이 되는데
서브페이지의 head와 tail이 달라서 이것저것 검색해서 해보고 있는데...
어떻게 해야 할지..ㅠㅠ
파일명은 sub_01.php , sub_01.head.php , sub_01.tail.php 로 해 놨습니다.
sub_01.php 에서 인클루드를 어떻게 해야 불러 올 수 있는 건가요..
<?
include_once("./_common.php");
//include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
sub_01.php 에서 선언한 문장입니다.
도와 주세요~ㅠㅠ
Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, null given in /home/kagla/new-sir/old/lib/common.lib.php:2339 Stack trace: #0 /home/kagla/new-sir/old/lib/common.lib.php(2339): mysqli_fetch_assoc() #1 /home/kagla/new-sir/old/skin/board/v16/view.skin.php(795): sql_fetch_array() #2 /home/kagla/new-sir/old/bbs/view.php(403): include_once('...') #3 /home/kagla/new-sir/old/bbs/board.php(300): include_once('...') #4 {main} thrown in /home/kagla/new-sir/old/lib/common.lib.php on line 2339