채택완료

php 간단한것좀 여쭤볼게요

2017-05-08 (월) 10:19:40 3,742

    if ($bo_table == 'customer ') { < 이부분에 또 다른 테이블명을 추가할려고 하는데 어찌해야하나요  

Copy
<?phpif (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가// 게시판 관리의 상단 내용if (G5_IS_MOBILE) {    // 모바일의 경우 설정을 따르지 않는다.    if ($bo_table == 'customer') {        include_once(G5_THEME_MOBILE_PATH.'/head1.php');    } else {        include_once(G5_BBS_PATH.'/_head.php');    }     echo stripslashes($board['bo_mobile_content_head']);} else {    @include ($board['bo_include_head']);    echo stripslashes($board['bo_content_head']);}?>
|

답변 2개

채택된 답변
+20 포인트
2017-05-08 (월) 10:20:14

 if ($bo_table == 'customer ' || $bo_table == '')  


이렇게 하시면 됩니다.

$bo_table == 'customer ' || $bo_table == '추가 게시판'

 

이런식으로 추가해 주시면 됩니다.

답변을 작성하려면 로그인이 필요합니다.