Unable to connect to database !
1064 <- 오류번호
SELECT sum(grade), count(grade) FROM board_short_comment WHERE tbname = 'news_picture' AND board_number = AND grade > 0
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND grade > 0' at line 9
Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in /home/joubebe/public_html/bbs_detail.php on line 959