MySQL Fout: Kan query niet uitvoeren: SELECT `id` FROM ko_kunstwerk WHERE rubriek_ref = AND `positie` > AND actief = '1' AND `hoort_bij_id` = 0 ORDER BY `positie` ASC, id DESC LIMIT 1;
Beschrijving: 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 'AND `positie` > AND actief = '1' AND `hoort_bij_id` = 0 ORDER BY ' at line 4
Backtrace
/data/www/janvanderkooi.nl/public_html/index.php:32
page->show
/data/www/janvanderkooi.nl/public_html/include/classes/page.php:147
Parser->run
/data/www/janvanderkooi.nl/public_html/include/classes/parser.php:81
Parser->execute
content imagetype=1 
/data/www/janvanderkooi.nl/public_html/include/classes/parser.php:100
Parser->runMacro
content 
imagetype=1 
/data/www/janvanderkooi.nl/public_html/include/classes/parser.php:55
content->show
/data/www/janvanderkooi.nl/public_html/include/classes/content.php:44
kunstenaar->show
/data/www/janvanderkooi.nl/public_html/modules/kunstenaar/index.php:63
Mysql->getSingleRow
				SELECT	`id`
				FROM	ko_kunstwerk
				WHERE	rubriek_ref = 
				AND		`positie` > 
				AND		actief = '1'
				AND `hoort_bij_id` = 0
				ORDER BY `positie` ASC, id DESC
				LIMIT 1;