From: fibberish at xs4all dot nl
Operating system:
PHP version: Irrelevant
PHP Bug Type: Feature/Change Request
Bug description: XML support for MySQL functions
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 bug report at http://bugs.php.net/?id=29326&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29326&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29326&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29326&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29326&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29326&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29326&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29326&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29326&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29326&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29326&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29326&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29326&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29326&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29326&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29326&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29326&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29326&r=float