OOPS

Syntax error, unexpected token AND, near to ' tonen='y' ORDER BY positie,titel_nl', when parsing: SELECT pid,cat,titel_nl FROM [WnklProducten] WHERE cat= AND tonen='y' ORDER BY positie,titel_nl (95)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /home/zendnres/app/controllers/WinkelController.php(845): Phalcon\Mvc\Model::find(Array)
#3 [internal function]: Iapp\Control\WinkelController->temp_productcategorieAction('twickel-brood')
#4 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Iapp\Control\WinkelController), 'temp_productcat...', Array)
#5 [internal function]: Phalcon\Dispatcher->dispatch()
#6 /home/zendnres/public_html/index.php(23): Phalcon\Mvc\Application->handle()
#7 {main}
10.6
764
21
54.224.133.198