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 'WHERE rek_koen ='M' AND rek_kategori ='M1' AND rek_disciplin ='Squat' AND rek_kl' at line 1/var/www/styrke.dk/public_html/scripts/records.php, 140