#18634 [NEW]: Pear DB query w/ sql's MAX() Returns wrong array handles

From: Date: Tue, 30 Jul 2002 04:34:28 +0000
Subject: #18634 [NEW]: Pear DB query w/ sql's MAX() Returns wrong array handles
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8082@lists.php.net to get a copy of this message
From: starr@evilemail.com Operating system: NT 4 PHP version: 4.2.2 PHP Bug Type: PEAR related Bug description: Pear DB query w/ sql's MAX() Returns wrong array handles ...Pear DB / Mysql / $db is a pear db object Using a mysql query w/ MIN() --- i.e. the following $sql = "SELECT MIN(time) from mytable"; $time = $db->getAll( $sql, DB_FETCHMODE_ASSOC ); Returns a value in $time[0]['MIN(time)']; NOT in $time[0]['time']; -- Edit bug report at http://bugs.php.net/?id=18634&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18634&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18634&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18634&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18634&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18634&r=support Expected behavior: http://bugs.php.net/fix.php?id=18634&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18634&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18634&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18634&r=globals

« previous php.pear.dev (#8082) next »