ID: 25481
Updated by: [email]sniperphp.net[/email]
Reported By: zerokode at gmx dot net
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: linux/i686
PHP Version: 5CVS-2003-09-10 (dev)
New Comment:

1. PHP 5 is NOT released yet
2. PHP 5 is NOT ready yet.
3. Bugs/incompatibilities with PHP5 in some 3rd party code DOES NOT
belong here.



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

[2003-09-10 18:23:19] zerokode at gmx dot net

Description:
------------
There is a trouble with the newer version of the PHP,
because of the unknown reason the php5 (even the latest
CVS) won't work with that, but the oddest thing is, that
the version 4.x has no problem displaying the code...



Reproduce code:
---------------
<?php
require_once ("adodb/adodb.inc.php");
$conn = &ADONewConnection('mysql');
$conn->Connect($db_host, $db_username, $db_password, $database);
$domains_query = $conn -> execute("SELECT * FROM
".$SQL_FIELD['domains']." ");
while (! $domains_query -> EOF)
{
$domain_id = $domains_query -> fields('id');
echo $domain_id;
$domains_query -> moveNext();
}
?>

Expected result:
----------------
in PHP5 the ->fields (adodb function) is always void... In
PHP4 the ->fields normaly gives out an array of the SQL
fields and their content...



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


--
Edit this bug report at [url]http://bugs.php.net/?id=25481&edit=1[/url]