$('.show-info').click (function () {
$('#info').append (
`<ul class="row" id="sortable">
<?php for ($i=0; $i < count($list); $i++) { ?>
<div class="col-lg-6 col-md-6" >
<div class="panel panel-default">
<li class="panel-body panel-default">
<div class="">
<div class="col-sm-12 col-xs-12 text-left" style="min-height:40px;padding-bottom:8px;padding-left:0;;">
<div style="float:left;">
<?php echo get_it_image($list[$i]['it_id'], 60, 60);?>
</div>
<div style="float:left;margin-left:10px;">
<h4 style="font-weight:bold;margin-top:0px;margin-bottom:18px;margin-left:0;"><?php echo $list[$i]['it_name']?></h4>
<strong style="font-size:15px;"><?php echo number_format($list[$i]['it_price'])?></strong> 원
</div>
<div style="clear:both"></div>
</div>
<div class="text-right">
</div>
</div>
</li>
</div>
</div>
<?php } ?>
</ul>`
);
$( "#sortable" ).sortable();
// 이부분에는 btn 추가하기
})
```
php 에서 이 에러뜨면
Uncaught SyntaxError: Unexpected token '<'
백틱으로 감싸면댐ㅇㅇ