How do I add more than one row with Zend_Db?
问题 I have an array with information which looks more or less like this: $data[] = array('content'=>'asd'); $data[] = array('content'=>'asdf'); And I want to add both entries into the Database. $db->insert('table', $data); does not add both entries. What am I doing wrong? Do I have to use Zend_ Db_Table? $data = array('content'=>'asdf'); $db->insert('table', $data); works of course 回答1: I don't think Zend_Db supports insertion of multiple rows. But if you just have two rows or a little more you