이걸 어떻게 하라는 말인지..

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
이걸 어떻게 하라는 말인지..

QA

이걸 어떻게 하라는 말인지..

본문

https://sir.kr/g5_tip/5346

이 팁에서 

 


list.php 

================================ 
$last_wr_id : 
for 문에서 $last_wr_id = $list[$i]["wr_id"]; <-- 이 부분을 넣어주셔야 합니다. 


<script> 

    var page = 2; 
    var last_wr_id = <?php echo $last_wr_id; ?>; 

    $(window).scroll(function () { 

        if ($(window).scrollTop() == $(document).height() - $(window).height()) { 

            $.post("<?php echo $board_skin_url;?>/read.page.php", {bo_table:"<?=$bo_table;?>", page:page, last_wr_id:last_wr_id}, function (data) { 
                //$(".pageListArea .tbl_head01").append("<div style='height:500px;'>추가된 페이지</div>"); 
                $(".pageListArea .tbl_head01").append(data); 

                page++; 
            }); 

        } 
    }); 
</script> 

============================================= 
 

이거를 스킨에 list.php를 만들어 <script> ....</script>만 넣고

 

$last_wr_id = $list[$i]["wr_id"]; 는 어느 파일에 넣으라는 건가요?

 

*팁을 참 어렵게 써놓았네요.

 

 

 

 

 

 

이 질문에 댓글 쓰기 :

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

회원로그인

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