답변 1개
채택된 답변
+20 포인트
9년 전
상품수를 구한다면...
$sql2 = " select it_id from g5_shop_item order by it_id desc";
$result2 = sql_query($sql2);
$new_text = mysqli_num_rows($result2);
이런식으로 하면 되지 않을까 싶습니다.
답변을 작성하려면 로그인이 필요합니다.