|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-09-10 20:27 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 21:00:01 2025 UTC |
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...