제사이트의 가입한 사람의 총 수를 출력하고 싶은데
어떤식으로 해야 되나요??
sir분들 부탁드려요!
굿밤!
답변 3개
채택된 답변
+20 포인트
2015-07-22 (수) 02:58:17
Copy
<?php$sql = " select count(*) as cnt from {$g5['member_table']} where (1) order by mb_datetime desc";$row = sql_fetch($sql);$total_count = $row['cnt']; echo number_format($total_count); ?>
adm의 소스에서 가져왔습니다.
2015-07-22 (수) 05:41:22
그누4인가바여 아래와같이 바꿔보세여
Copy
<?php
$sql = " select count(*) as cnt from g4_member where (1) ";
$row = sql_fetch($sql);
$total_count = $row['cnt'];
echo number_format($total_count);
?>
안드로이드아이폰앱개발자
2015-07-22 (수) 04:13:40
오메 오류나네여
답변을 작성하려면 로그인이 필요합니다.