Invalid query : 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 '\r' at line 1 select title,review,html,pic_id,width,height,pic_type.type,tbl,review_of.item,it_ID,unix_timestamp(date_activated),critic from Reviews left join Pictures on Pictures.id=Reviews.pic_id left join pic_type on Pictures.type=pic_type.ID left join review_of on review_of.review_ID=Reviews.review_id left join object on object.ID=review_of.object where Reviews.review_id=142\r