ID: 9736 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Old-Bug Type: MSSQL related Bug Type: MySQL related Assigned To: Comments: So which one is this? MSsql OR MySQL ?? Anyways, you're using very old version of PHP. Update first to PHP 4.0.4pl1 and reopen if this problem still exists with it. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-14 00:25:38] [EMAIL PROTECTED] mssql_fetch_array is not consistent in the results > it fetches when referred to using the numeric > indices of the returned array, as compared to the > results obtained by referring to the array as an > associative one. > For example ,i've had erratic results when doing the > following ... > > $sql = "select * from table" > > $client_results = mysql_query($sql,$conn); > > $client_row = mysql_fetch_array($client_results); > > mysql_free_result($client_results); > > echo $client_row[0]; > echo $client_row[1]; > echo $client_row[2]; > ... > array[0] sometimes shows the data in the first > element correctly and sometimes it displays the > column name of the returned data...quite erratic. > --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9736&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]