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 's Ferienwohnung' order by MinPrice1W asc limit 905,3' at line 1Query SELECT Name,MinPrice1W,City,Code,Picture,NumberStars,WGS84Longitude,WGS84Latitude,IntroductionShortDE FROM fewos_neu where Code!='DE-54578-09' and Name!='Yvonne's Ferienwohnung' order by MinPrice1W asc limit 905,3 ist ungültiges SQL.