css url 질문 채택완료
니냐노
4년 전
조회 1,479

occupant.php
</p>
<pre>
<?php
include_once('../common.php');
// 페이지 제목
$g5['title'] = "새로운 페이지";
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0);
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
include_once(G5_PATH.'/head.php');
?>
<?php
include_once(G5_PATH.'/tail.php');
?></pre>
<p>
새페이지를 만드려고 하는데
스타일 시트가 안먹는 이유가 잇을까요?
Warning: Use of undefined constant G5_SHOP_CSS_URL - assumed 'G5_SHOP_CSS_URL' (this will throw an Error in a future version of PHP) in /usr/share/nginx/html/occupant/occupant.php on line 5
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
채택된 답변
+20 포인트
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인