Re: irrational behavior

From: Date: Tue, 12 May 2009 15:23:14 +0000
Subject: Re: irrational behavior
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-292495@lists.php.net to get a copy of this message
Robert Stankiewicz wrote: > Maybe, because of this ? >> $category[$row['name']] = $row; >> > .... >> $cat = $category[$ii]['name']; //=======this is line >> 36========== >> > > best regards > Robert > I'm afraid you lose me completely. What does the sort($category) have to do with the count or $ii or whatever it is that is screwing up the script. It works perfectly when the sort is not commented out. Why and how does that change anything. The order certainly does not change the number of rows, or does it? -- Hervé Kempf: "Pour sauver la planète, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php

« previous php.general (#292495) next »