SELECT wedid, wednaam, DATE_FORMAT(weddatum,'%d-%m-%Y') FROM wedstrijden WHERE compid= ORDER BY weddatum DESC
errornr: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY weddatum DESC' at line 1