채택완료

구달창 질문입니다.

2021-08-25 (수) 10:26:30 2,277

$a= '&usr_id='.$member['mb_id']; 


<div id="modal" class="searchModal">
    <div class="search-modal-content">
        <div class="page-header">
            <h1>공유하기</h1><BR>
        </div>
    
            <div class="row">
                <div class="col-sm-12">
                    <div class="row">
                        <div class="col-sm-12" >
                        <div id="clones">
                        </div>
<div id="sit_sns">
            <?php echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png'); ?>

                <?php echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png'); ?> 

                <!--
                    <?php echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png'); ?>
                -->
                <?php echo get_sns_share_link('kakaotalk', $sns_url.$a, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png'); ?>

                <?php echo get_sns_share_link('sms', $sns_url.$a, $sns_title, G5_MSHOP_SKIN_URL.'/img/sms.png'); ?>  


                <!--
                    <a href="javascript:popup_item_recommend('<?php echo $it['it_id']; ?>');" id="sit_btn_rec">추천하기</a>
                -->
    <?php
    $href = G5_SHOP_URL.'/iteminfo.php?it_id='.$it_id;
    
    ?>
</div>

.$a변수를 강제로 넣었더니, 아래의 그림과 같이 나왔습니다.

3546983220_1629854710.5553.png

usr_id만 나오고 나머지 주소는 나오지 않는지 궁금하여 질문 올립니다.

|

답변 1개

채택된 답변
+20 포인트

$sns_url값을 못가져오네요

include해야할 파일이 누락된것 같습니다.

답변을 작성하려면 로그인이 필요합니다.