로컬서버와 웹서버에서 서로 다른 결과가 나옵니다
본문
웹서버에서는 정상적으로 ko1로 가져옵니다
<div class="write_div">
<label for="wr_content" class="title">국문 구매링크</label>
<div class="wr_content ">
<input type="text" name="ko1" value="" class="full_input frm_input" size="50" placeholder="1. PlayStation Store" style="margin-bottom:5px">
<input type="text" name="ko2" value="https://store.nintendo.co.kr/" class="full_input frm_input" size="50" placeholder="2. Nintendo Online Store" style="margin-bottom:5px">
<input type="text" name="ko3" value="" class="full_input frm_input" size="50" placeholder="3. Microsoft Store" style="margin-bottom:5px">
<input type="text" name="ko4" value="" class="full_input frm_input" size="50" placeholder="4. Steam" style="margin-bottom:5px">
<input type="text" name="ko5" value="" class="full_input frm_input" size="50" placeholder="5. Epic Games Store" style="margin-bottom:5px">
<input type="text" name="ko6" value="" class="full_input frm_input" size="50" placeholder="6. 패키지판 구입" style="margin-bottom:5px">
</div>
</div>
로컬서버에서는 같은 소스인데 ko만 가져오는거 같습니다웹서버와 로컬서버 db가 달라서 이런걸까요?
<div class="write_div">
<label for="wr_content" class="title">국문 구매링크</label>
<div class="wr_content ">
<?
$ko_arr = array("PlayStation Store", "Nintendo Online Store", "Microsoft Store", "Steam", "Epic Games Store", "패키지판 구입");
for($ko=1; $ko <= sizeof($ko_arr); $ko++)
{
?>
<input type="text" name="ko" value="" class="full_input frm_input" size="50" placeholder=". " style="margin-bottom:5px">
}
</div>
</div>
- Apache/2.4.52 (Win64) PHP/7.4.27
- 데이터베이스 클라이언트 버전: libmysql - mysqlnd 7.4.27
- Apache
- 데이터베이스 클라이언트 버전: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 401a40ebd5e281cf22215acdc170723a1519aaa9 $
답변을 작성하시기 전에 로그인 해주세요.