Mysql supports prepared statements in this way:
http://dev.mysql.com/doc/refman/5.0/en/sql-syntax-prepared-statements.html
Is there a support for it in Zend Framework (I couldn't find it), and how to use it. If not, how would you implement prepared statements as Zend Framework addon.
You should look at the zend documentation.
https://github.com/zendframework/zend-db/blob/master/doc/book/result-set.md
so here is a sample code.
You can try like this
After some research, I didn't find ZF's support for prepared statements in this very same way. The only thing you can do is to emulate it as @Nikita Gopkalo posted.