Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: [PHP] Why?

date posted 26th January 2005 18:14

On Wednesday 26 Jan 2005 6:51 pm, Dai Williams wrote:

> It loads the rows from the db into the array $details ($details[] will
> append to the next empty array member so equivalent to
> $details[count($details)]). =20


Excuse my language, no shit. And that goes for the rest of you=20
that answered "what?", not "why?".


> As to why, it depends what it does with
> them later, it may be because the code needs to do 'random access'
> rather than sequential access on the data and while that is supported
> diretcly with recordsets using mysql_result(), doing it directly on an
> array will almost certainy be quicker.

Oh that I could believe this code was that sophisticated. No, having=20
hoovered the whole lot into an array, it spits it out again, in order.



Messages by Day
January 31st 2005
January 30th 2005
January 29th 2005
January 28th 2005
January 27th 2005
January 26th 2005
January 25th 2005
January 24th 2005
January 23rd 2005
January 22nd 2005
January 21st 2005
January 20th 2005
January 19th 2005
January 18th 2005
January 17th 2005
January 16th 2005
January 15th 2005
January 14th 2005
January 13th 2005
January 12th 2005
January 11th 2005
January 10th 2005
January 9th 2005
January 8th 2005
January 7th 2005
January 6th 2005
January 5th 2005
January 4th 2005
January 3rd 2005
January 2nd 2005
January 1st 2005


Messages by Month
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000