if else문 문의좀 드리겠습니다. 정보
if else문 문의좀 드리겠습니다.본문
안녕하세요.^^
제가 메인페이지와 서버페이지의 카피라이트를 다르게 할려고 합니다.
index페이지만 main_tail.php를 부르고 나머지페이지는 sub_tail.php를 불러오려구요.
아래처럼 해보니 잘 안되네요. 어떠한 방식으로 해야하는지 알려주시면 감사드리겠습니다.
<?
if ("$g4[path]/index.php") {
include_once("main_tail.php"); //메인메뉴
}else{
include_once("sub_tail.php"); // 서브메뉴
?>
제가 메인페이지와 서버페이지의 카피라이트를 다르게 할려고 합니다.
index페이지만 main_tail.php를 부르고 나머지페이지는 sub_tail.php를 불러오려구요.
아래처럼 해보니 잘 안되네요. 어떠한 방식으로 해야하는지 알려주시면 감사드리겠습니다.
<?
if ("$g4[path]/index.php") {
include_once("main_tail.php"); //메인메뉴
}else{
include_once("sub_tail.php"); // 서브메뉴
?>
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '175563' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php