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(1082): Phalcon\Mvc\Model::find(Array)
#3 [internal function]: Iapp\Control\WinkelController->productcategorieAction('kruiden')
#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}
25.2
773
21
13.58.84.207