도와주세요 ㅠㅠ > 그누3질답

그누3질답

도와주세요 ㅠㅠ 정보

도와주세요 ㅠㅠ

본문

  <? for ($i=0; $i<count($list); $i++) {
  $Star[0]="<span style='font-family:verdana;font-size:7pt;'>[No Score]</span>";
  $Star[1]="☆";
  $Star[2]="★";
  $Star[3]="★☆";
  $Star[4]="★★";
  $Star[5]="★★☆";
  $Star[6]="★★★";
  $Star[7]="★★★☆";
  $Star[8]="★★★★";
  $Star[9]="★★★★☆";
  $Star[10]="★★★★★";
  $id = $list[$i][wr_id];
  $score_query=sql_query("select wr_1 from $bbs_table where wr_id = $id ");
  $query_data = mysql_fetch_row($score_query);
  $score = $query_data[0];
?>
 
아래처럼자꾸애러 납니다. ㅠㅠ
select wr_1 from where wr_id = 11
1064 : You have an error in your SQL syntax near 'where wr_id = 11 ' at line 1

댓글 전체

전체 9,564
그누3질답 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT