training1게시판에만 해당되는 댓글을 training1말도 다른모든게시판에는 다른 댓글을 사용하고싶은데 어떻게하나요?
Copy
<?php if ($bo_table == "training1")
if ($is_comment_write) {
if($w == '') $w = 'c';
if(!$c_wr_content) { $c_wr_content = "공지사항을 읽었음을 확인합니다 "; }
?>
|
답변 2개 / 댓글 2개
채택된 답변
+20 포인트
Copy
<?php
if ($is_comment_write) {
if ($w == '') $w = 'c';
if (!$c_wr_content) {
if ($bo_table == "training1")
$c_wr_content = "공지사항을 읽었음을 확인합니다 ";
else
$c_wr_content = "교육이수하였습니다.";
}
?>
Copy
<?php if ($is_comment_write) {
if($w == '') $w = 'c';
if(!$c_wr_content) { $c_wr_content = "공지사항을 읽었음을 확인합니다 "; }
?>
이렇게 하심되죠..
답변을 작성하려면 로그인이 필요합니다.