|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2000-03-18 09:33 UTC] zeev at cvs dot php dot net
  [2023-10-10 09:09 UTC] git@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 07:00:01 2025 UTC | 
Assuming $qid is a valid result of a mysql_query: while ($r = mysql_fetch_array($qid)) { ...do something... } $r["foo"] = "bar"; echo $r["foo"]; Will not display anything. $r["foo"] is never assigned the value "bar". Instead, I must forcefully unset($r); or $r = array; before trying to make the $r["foo"] = assignment. This works fine in PHP 3 but not in 4.0 beta 3.