Re: note 11932 added to function.mssql-fetch-array.php

From: Date: Tue, 13 Mar 2001 23:20:05 +0000
Subject: Re: note 11932 added to function.mssql-fetch-array.php
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-12369@lists.php.net to get a copy of this message
You should send this as a bug report to bugs.php.net, and/or check if someone else has already reported it. Otherwise, it is not guaranteed that the team of developers will ever see this. Let me know (soon) when you submit this as a bug report to remove this note. --- vhegde@myersinternet.com wrote: > 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. > > > http://www.php.net/manual/en/function.mssql-fetch-array.php > > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: > php-notes-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== --- Jesus M. Castagnetto <jmcastagnetto@php.net> __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/

« previous php.notes (#12369) next »