1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php include("./_common.php");
$sql = "select * from (select a.code, a.code1, ifnull(b.pcode,'update') as up_code, b.prod_cate_code_s from product_m a left join product_s b on a.code = b.pcode) aa where aa.up_code = 'update' or aa.prod_cate_code_s = 0 "; $res = mysql_query($sql,$connect_j3); $cnt = 0; while($info=mysql_fetch_array($res)){ product_s_check($info['code']); // product_s 테이블 정보 체크후 없으면 생성 $cnt++; } ?> <script> alert('<?php echo $cnt?>개의 상품이 쇼핑몰변환 처리 되었습니다.'); </script>
|