From: prohm at cypos dot de Operating system: Linux 2.4.21 PHP version: 4.3.3RC1 PHP Bug Type: MySQL related Bug description: mysql_fetch_array error The result type should be either MYSQL_NUM, MYSQL_ASSO
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 bug report at http://bugs.php.net/?id=24615&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24615&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24615&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24615&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24615&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24615&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24615&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24615&r=support Expected behavior: http://bugs.php.net/fix.php?id=24615&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24615&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24615&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24615&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24615&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24615&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24615&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24615&r=gnused