摘要:iterator_to_array — 将迭代器中的元素拷贝到数组$statement = $this->sql->prepareStatementForSqlObject($select); $result = iterator_to_array($statement->execute());Report a bug说明array iterator_to_array ( Traversable $iterator [, bool $use_keys ] )将迭代器中的元素拷贝到数组。4.获取最后插入的id$lastInsertId = $result->getGene
阅读全文
随笔分类 - zend framework

浙公网安备 33010602011771号