로컬서버와 웹서버에서 서로 다른 결과가 나옵니다

로컬서버와 웹서버에서 서로 다른 결과가 나옵니다

QA

로컬서버와 웹서버에서 서로 다른 결과가 나옵니다

본문

웹서버에서는 정상적으로 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 $

이 질문에 댓글 쓰기 :

답변 2

두개의 소스코드가 틀립니다?

아래의 코드에서는 name 값이나

value 값이 완전하지 않을거 같아요

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

회원로그인

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