서버이전을 했는데

서버이전을 했는데

QA

서버이전을 했는데

본문

카페24에서 고도호스팅으로 서버이전했는데 아래와같은 오류가 났어요

어떻게 해야 하는지 알려주시면 감사하겠습니다

 

136    echo "<a href='{$list[$i][href]}'><span class='notice'>{$list[$i][subject]}</span></a>";
137                else
138               echo "<a href='{$list[$i][href]}'> 문의합니다.</a>";

 

 


Warning: Use of undefined constant href - assumed 'href' (this will throw an Error in a future version of PHP) in /www/abc.godohosting.com/skin/board/partner/list.skin.php on line 136

 


Warning: Use of undefined constant href - assumed 'href' (this will throw an Error in a future version of PHP) in /www/abc.godohosting.com/skin/board/partner/list.skin.php on line 138

 

 

 

이 질문에 댓글 쓰기 :

답변 4

echo "<a href='".$list[$i]['href']."'><span class='notice'>".$list[$i]['subject']."</span></a>";
echo "<a href='".$list[$i]['href']."'> 문의합니다.</a>";

 

$list[$i][href]를 $list[$i]['href'] 따옴표로 감싸주셔야합니다

저라면 php버전을 맞추겠어요 언제다바꾸죠 ㄷㄷ

답변을 작성하시기 전에 로그인 해주세요.
전체 125
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT