Fatal error: Uncaught Exception: SQLSTATE[42000]: Syntax error or access violation: 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 'AND forening>'' ORDER BY label' at line 1
----SELECT id, if(forening='',0,1) as t, if(forening='',concat('+',etternavn,', ',fornavn),forening) as label FROM hks_kunder2 WHERE avdeling= AND forening>'' ORDER BY label in /customers/6/4/0/samsitt.net/httpd.www/cg/class/PDO_lister_class2.php:230 Stack trace: #0 /customers/6/4/0/samsitt.net/httpd.www/cg/program14d.php(19): lister->select(NULL) #1 {main} thrown in /customers/6/4/0/samsitt.net/httpd.www/cg/class/PDO_lister_class2.php on line 230