#27369 [Opn->Bgs]: RFE change in function.mysql-fetch-array.html
| From: | nlopess@php.net | Date: | Mon, 23 Feb 2004 20:05:19 +0000 |
| Subject: | #27369 [Opn->Bgs]: RFE change in function.mysql-fetch-array.html | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359179@lists.php.net to get a copy of this message | ||
ID: 27369
Updated by: nlopess@php.net
Reported By: nospam at webdragon dot net
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Linux (Fedora Core 1)
PHP Version: Irrelevant
New Comment:
I don't see any interess in this patch, as nothing is changed.
Previous Comments:
------------------------------------------------------------------------
[2004-02-23 13:07:55] nospam at webdragon dot net
Description:
------------
Following is a patch to the documentation to make the aliasing issue
slightly clearer. I (in my caffeine deprived state) not only failed to
realize that you were referring to aliasing via mysql, but didn't
notice that the query below was doing that very thing in mysql.
This patch makes this slightly clearer. (hopefully linewrapping won't
bollix this)
Reproduce code:
---------------
--- function.mysql-fetch-array.html 2004-02-08 16:43:54.000000000
-0500
+++ function.mysql-fetch-array.new.html 2004-02-23 13:08:26.000000000
-0500
@@ -144,7 +144,7 @@
></A
><P
><B
->Example 1. Query with duplicate field names</B
+>Example 1. Query with aliased duplicate field names</B
></P
><TABLE
BORDER="0"
@@ -154,7 +154,7 @@
><TD
><PRE
CLASS="sql"
->select table1.field as foo, table2.field as bar from table1,
table2</PRE
+>SELECT table1.field AS foo, table2.field AS bar FROM table1,
table2</PRE
></TD
></TR
></TABLE
@@ -432,4 +432,4 @@
></DIV
></BODY
></HTML
->
\ No newline at end of file
+>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27369&edit=1