Warning: Undefined variable $host in /customers/0/d/a/hemmingstad.no/httpd.www/cg/class/PDO_lister_class2.php on line 87
Warning: Undefined array key "avd" in /customers/0/d/a/hemmingstad.no/httpd.www/cg/booking.php on line 361
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 '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= ORDER BY label in /customers/0/d/a/hemmingstad.no/httpd.www/cg/class/PDO_lister_class2.php:230
Stack trace:
#0 /customers/0/d/a/hemmingstad.no/httpd.www/cg/booking.php(365): lister->select(NULL)
#1 {main}
thrown in /customers/0/d/a/hemmingstad.no/httpd.www/cg/class/PDO_lister_class2.php on line 230
|