PHP 4.0 Bug #7886 Updated: Return Columns

From: Date: Sun, 18 Feb 2001 11:25:29 +0000
Subject: PHP 4.0 Bug #7886 Updated: Return Columns
Groups: php.dev 
Request: Send a blank email to php-dev+get-46826@lists.php.net to get a copy of this message
ID: 7886 Updated by: thies Reported By: vvtk@stealthcomp.com Old-Status: Open Status: Closed Bug Type: OCI8 related Assigned To: Comments: php does not allow two columns to have the same name! if i paste you select into sqlplus i get: VALUE VALUE VALUE ---------- ---------- ---------- 17069 157090 7984 do "select ... as col1, ... as col2" etc Previous Comments: --------------------------------------------------------------------------- [2001-01-09 06:41:05] vvtk@stealthcomp.com PHP 4.0.4 - same effect. OCIFetchStatement return 1 column, but I expected 3 columns. --------------------------------------------------------------------------- [2001-01-07 19:52:30] sniper@php.net Does this happen with PHP 4.0.4 ? --Jani --------------------------------------------------------------------------- [2000-11-20 05:25:40] vvtk@stealthcomp.com I don't know bug it or future. Query: SELECT a1.*,a2.*,a3.* FROM (SELECT VALUE FROM V$SYSSTAT WHERE NAME='db block gets') a1,(SELECT VALUE FROM V$SYSSTAT WHERE NAME='consistent gets') a2,(SELECT VALUE FROM V$SYSSTAT WHERE NAME='physical reads') a3 OCIFetchStatement return array with 1 field, but I expected 3 fields. (SQLPlus return 3 fields). --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7886&edit=2

« previous php.dev (#46826) next »