코드를 아예몰라서요 ㅠㅠ
if($bo_table != 'farthing')
이부분에요 추가적으로 farthing1 추가하고싶은데 어떻게해야하나요
Copy
if($bo_table != 'farthing') { include_once(G5_BBS_PATH.'/_head.php'); }
|
답변 2개 / 댓글 1개
채택된 답변
+20 포인트
2018-07-18 (수) 19:13:19
https://www.w3schools.com/php/php_operators.asp
Copy
if ($bo_table != 'farthing' && $bo_table != 'farthing1') {
include_once(G5_BBS_PATH.'/_head.php');
}
2018-07-18 (수) 19:01:53
아래와 같이 해주세요.
if($bo_table != 'farthing') {
if($bo_table == 'farthing1) {
include_once(G5_BBS_PATH.'/_head2.php');
} else {
include_once(G5_BBS_PATH.'/_head.php');
}
}
답변에 대한 댓글 1개
초보입니다1
2018-07-18 (수) 19:04:32
답변을 작성하려면 로그인이 필요합니다.
2번헤더가없어서 그런거같은데요 ㅠㅠ