Error: SELECT Hotels.hotelname, Hotels.imagedir, Hotels.Type, Hotels.backgroundimage, hotelimages.* FROM hotelimages INNER JOIN Hotels on Hotels.hotelid = hotelimages.hotelid WHERE hotelimages.DisplayStatus <> 'Hidden' AND hotelimages.hotelid= ORDER BY DisplayOrder
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 DisplayOrder' at line 1