서버이전을 했는데
본문
카페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 버전이 너무 높지 않은지 확인해보세요.
저라면 php버전을 맞추겠어요 언제다바꾸죠 ㄷㄷ
버전부터 마춰야할듯요
답변을 작성하시기 전에 로그인 해주세요.