Re: [PHP-DB] Possible bug in mysql_fetch_array et al

2004-09-22 Thread John Holmes
Daniel Watrous wrote: In the above var_dump the [] actually appears as a small box and I cannot copy and paste it. The numerically indexed value (i.e. [0]=>string(4) "9542") is correct. The associatively indexed value (i.e. ["ORDER_ID"]=>string(4) "31[]3") is completely bogus. Has anyone else s

[PHP-DB] Possible bug in mysql_fetch_array et al

2004-09-22 Thread Daniel Watrous
My understanding of mysql_fetch_array () is that when supplied with one value only (a result_set) this will return an array indexed both numerically and associatively by field name. The result set would take the form: array(59) { [0]=> string(4) "9542" ["ORDER_ID"]=> string(4) "9542" .. Where bot