Unable to connect to database !
1064 <- 오류번호
SELECT
A.*,
COUNT(B.number) as review_cnt
FROM
info_happy_member AS A
LEFT JOIN
info_adblog_review AS B
ON
A.user_id = B.user_id
WHERE A.state_open = 'y' AND A.`group` = 1
GROUP BY
A.user_id
ORDER BY
review_cnt desc,
number desc
LIMIT
-19,20
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 '-19,20' at line 17
Warning: happy_mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
/hard/hosting4/adblog/www/inc/lib_happy_member.php on line
2262