IT小白菜

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

随笔分类 -  zend framework

摘要: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 阅读全文
posted @ 2013-04-17 13:44 IT小白菜 阅读(245) 评论(0) 推荐(0)