I have a form generated by Zend_Form. How do I include the data in the database by Zend_Db_Table in table with relationship type many-to-many?
Please see the code: http://pastebin.com/u3C6TQKi and image example:

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First you should insert parent table. You can get insert row id. So insert child data with parent row id. It is best way. Also you can write single query and run it single time.