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/ladgehor/app/controllers/WinkelController.php(1077): Phalcon\Mvc\Model::find(Array)
#3 [internal function]: Iapp\Control\WinkelController->productcategorieAction('thee')
#4 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Iapp\Control\WinkelController), 'productcategori...', Array)
#5 [internal function]: Phalcon\Dispatcher->dispatch()
#6 /home/ladgehor/public_html/index.php(23): Phalcon\Mvc\Application->handle()
#7 {main}
27.6
771
21
54.235.6.60