변수질문 정보
변수질문본문
이것 좀 알려주세요 ^^
if($bo_table=="board1" || $bo_table=="board2"){ include_once("$g4[path]/menu1.php"); } 위에 if문은 잘되는데요 아래와 같은건 어떻게 설정할수 있나요?
게시판 변수하고 글 목록변수 같은데 ( bo_table=info1&wr_id=1 ) 일때 $g4[path]/menu1.php 불러드릴수 있는 방법이요
bo_table=info1&wr_id=2 일때 $g4[path]/menu2.php 를 불러드릴수 있는 방법
예를 들어
if ($bo_table=="info1"&&$wr_id=="1" || $bo_table=="info1"&&$wr_id=="2"){ include_once("$g4[path]/menu1.php");
if($bo_table=="board1" || $bo_table=="board2"){ include_once("$g4[path]/menu1.php"); } 위에 if문은 잘되는데요 아래와 같은건 어떻게 설정할수 있나요?
게시판 변수하고 글 목록변수 같은데 ( bo_table=info1&wr_id=1 ) 일때 $g4[path]/menu1.php 불러드릴수 있는 방법이요
bo_table=info1&wr_id=2 일때 $g4[path]/menu2.php 를 불러드릴수 있는 방법
예를 들어
if ($bo_table=="info1"&&$wr_id=="1" || $bo_table=="info1"&&$wr_id=="2"){ include_once("$g4[path]/menu1.php");
댓글 전체