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 'ORDER BY A.id DESC' at line 1
CHECK THE URL =>
SELECT A.id AS reviewid, B.id AS memberid, A.*, B.* FROM tbl_reviews as A INNER JOIN tbl_members as B ON A.userid=B.id where A.bookid= ORDER BY A.id DESC