ID: 24615
Updated by: [EMAIL PROTECTED]
Reported By: prohm at cypos dot de
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Linux 2.4.21
PHP Version: 4.3.3RC1
New Comment:
Read The Fine Manual:
array mysql_fetch_array ( resource result [, int result_type])
Previous Comments:
------------------------------------------------------------------------
[2003-07-11 20:49:11] prohm at cypos dot de
Description:
------------
The following function in a class:
function nextrec () {
if ($this->row = mysql_fetch_array ($this->result,$this->link))
return true;
return false;
}
give the following error:
Warning: mysql_fetch_array(): The result type should be either
MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH
I have used the newsest CVS-version, there is this error, too.
In the version 4.2.1 is it okay.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24615&edit=1