조회수, 히트수가 않변하네요 ~! 도움 요청합니다. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

조회수, 히트수가 않변하네요 ~! 도움 요청합니다. 정보

조회수, 히트수가 않변하네요 ~! 도움 요청합니다.

본문

리스트에서  제목 클릭하면 음악을 재생하는 창이 하나 뜨거든요
 
소스는 아래처럼
 
<?
@extract($_GET);
@extract($_POST);
include "../../../config.php";
include "../../../dbconfig.php";
$music_path = "../../../data/file/$bo_table/";
$connect = @mysql_connect($mysql_host, $mysql_user, $mysql_password);
$select_db = @mysql_select_db($mysql_db, $connect);
?>
 
쭉 (중간 생략 )
.
.
.
.
.
 
쭉 (중간 생략 )
 
<?
 $checked_song=explode(",",$selected);
 $checked_song=array_reverse($checked_song);
 $array_cnt=count($checked_song);
 for($i=0;$i<$array_cnt;$i++)
 {
 $temp=mysql_fetch_array(mysql_query("select wr_subject as subject, wr_name as name, wr_link1 as sitelink1, wr_link2 as sitelink2, wr_content as memo, wr_hit as hit from g4_write_$bo_table where wr_id='$checked_song[$i]'"));
 
 
 $subject[$i]=stripslashes($temp[subject]);
 if($temp1[file_name1]==true){ $arr = array($music_path,$temp1[file_name1]);}
 else{
 $arr = array($temp1[file_name1]);
 }
 $snd_path = implode("",$arr);
 $snd_1="";
 if(!eregi("\.smi",$temp[sitelink1])) $snd_1="$temp[sitelink1]";
 $snd_3="";
 if(!eregi("\.smi",$snd_path)) $snd_3="$snd_path";
 if ($snd_1==""){
  $song_path1[$i]=$snd_3;
 }else{
  $song_path1[$i]=$temp[sitelink1];
 }
 $song_path3[$i]=$snd_path;
 if ($song_path1[$i]==true)
  {
?>
BGM_List("<?=$song_path1[$i]?>","<?=$subject[$i]?>","<?=$checked_song[$i]?>");
<?
}
    //Hit Up
    mysql_query("update zetyx_board"."_$id set hit=hit+1 where no='$no'");
}
mysql_close($connect);
?>
 
.
.
.
.
 
무슨 영문인지  조회수가  변하지 않습니다.
 
소스가 문제 인가요 ?
 
* 음악 듣는것은 문제 없거든요 !
 
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로