도와주세요 ㅠㅠ > 그누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
  • 복사

댓글 전체

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