답변 2개
채택된 답변
+20 포인트
3년 전
</p>
<p><?php
$table2 = $g5['write_prefix'].'teacher' ;
$row2 = sql_fetch("SELECT count(*) as totalcount FROM $table2 where ca_name = '선생님' "); </p>
<p>echo '<span style=color:red>'.$row2['totalcount'].'</span>'; </p>
<p>
?></p>
<p>
총 수를 나타내려면 위처럼 count 하시면 됩니다
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인