er is ingelogd no connection with MySQL :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 id DESC' at line 9 in sql SELECT honden.* , vrijwilligers.id as vrijwilligers_id, vrijwilligers.land FROM honden, vrijwilligers WHERE honden.verblijfplaats = vrijwilligers.id AND honden.date_end = '2099-12-31' AND datum_overdracht = '0000-00-00' AND beschikbaar='V' AND publiceren = 1 ORDER BY honden.id DESC ORDER BY id DESC