ID:          29326
 Updated by:  [EMAIL PROTECTED]
 Reported By: fibberish at xs4all dot nl
-Status:      Open
+Status:      Wont fix
 Bug Type:    Feature/Change Request
 PHP Version: Irrelevant
 New Comment:

PHP returns the data from the table, but does not format it at all.
That's your job.


Previous Comments:
------------------------------------------------------------------------

[2004-07-22 13:10:41] fibberish at xs4all dot nl

Description:
------------
The idea would be that when SELECT * FROM table; is executed on this
table:

----------------------------
| id  | name               |
----------------------------
| 1   | User 1             |
| 2   | User 2             |
| 3   | User 3             |
| 4   | User 4             |
----------------------------

Combined with a piece of code like this:

while( $row = mysql_fetch_array($result, RETURN_XML, "UserRecord") ) {
   echo $row["UserRecord"];
}

Would output this:

<UserRecord>
   <id>1</id>
   <name>User 1</name>
</UserRecord>
<UserRecord>
   <id>...etcetera


I do realize this may not be much information to go on, but I am sure
the concept is very clear. :)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29326&edit=1

Reply via email to