html.php 고수님들 도움 요청 입니다.

위 글자 ? 나오는데요.
해결 방법 없나요.?
include_once("$g4[path]/head.sub.php");
$today = date("Y-m-d"); ## 현재접속자 수 //$sql = " select a.mb_id, b.mb_nick, b.mb_name, b.mb_email, b.mb_homepage, b.mb_open, b.mb_point, a.lo_ip, a.lo_location, a.lo_url from $g4[login_table] a left join $g4[member_table] b on (a.mb_id = b.mb_id) where a.mb_id <> '$config[cf_admin]' order by a.lo_datetime desc "; $sql = "select count(1) from g4_visit where concat(vi_date,' ',vi_time)>date_add(now(),interval -1 hour) "; $result = sql_query($sql); $cur_tmp = mysql_fetch_array($result); $cur_count = $cur_tmp[0]; $cur_count = $cur_count*3;
## 오늘 접속자 수 $sql = "select count(1) from g4_visit where vi_date='$today'"; $result = sql_query($sql); $tot_tmp = mysql_fetch_array($result); $tot_count = $tot_tmp[0]; $tot_count = $tot_count*9;
## 전체회원수 $sql = "select count(1) from g4_member"; $result = sql_query($sql); $mem_tmp = mysql_fetch_array($result); $mem_count = $mem_tmp[0]; $mem_count = $mem_count+20000;
## 공지사항 가져오기 $disp_result = sql_query("select * from g4_write_display order by wr_id desc "); ?>
답변 3개
답변을 작성하려면 로그인이 필요합니다.
로그인