Issues

ZF-1685: Zend_Db Manual Bug at example 9.11

Issue Type: Docs: Problem Created: 2007-07-05T20:51:08.000+0000 Last Updated: 2008-03-21T16:25:34.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Geoffrey Tran (potatobob) Assignee: Bill Karwin (bkarwin) Tags: - Zend_Db

Related issues: Attachments:

Description

A bug was brought up by aaroncampbell on the manual for Zend_Db at 9.1.3.5. Fetching Key-Value Pairs from a Result Set

<pre class="highlight">
<?php
$db->setFetchMode(Zend_Db::FETCH_OBJ);
$result = $db->fetchAAssocssoc('SELECT bug_id, bug_status FROM bugs');
echo $result[2];

I think it meant fetchAssoc, but this section is about using fetchPairs()

Comments

Posted by Bill Karwin (bkarwin) on 2007-07-05T23:52:51.000+0000

Is this an issue with Zend_Debug or Zend_Db? Is this an issue in section 9.1 or 9.11 of the manual (btw, there is no section 9.11)?

I appreciate the issue report, but please try to be more accurate with the details when you make such reports.

Posted by Bill Karwin (bkarwin) on 2007-07-05T23:54:31.000+0000

Recategorize as Zend_Db issue. Reword summary.

I see you did say it was example 9.11. I understand now.

Posted by Geoffrey Tran (potatobob) on 2007-07-05T23:59:02.000+0000

Sorry for the confusion, I forgot to place a link there http://framework.zend.com/manual/en/… ;)

Posted by Bill Karwin (bkarwin) on 2007-07-06T00:22:10.000+0000

Fixed in revision 5579.

Posted by Bill Karwin (bkarwin) on 2007-07-17T14:59:57.000+0000

Change fixed version to 1.1.0.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts