Re: Seeking strategy/algorithm for maintaining order of records

From: Date: Thu, 20 Oct 2011 20:23:48 +0000
Subject: Re: Seeking strategy/algorithm for maintaining order of records
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-315375@lists.php.net to get a copy of this message
On Sun, Oct 16, 2011 at 2:26 PM, Jim Giner <jim.giner@albanyhandball.com> wrote: > "tamouse mailing lists" <tamouse.lists@gmail.com> wrote in message > > news:CAHUC_t8iCx4Y4mCA05rrgZOPv4ZE7hwSndAiYJJmDVbambvE1Q@mail.gmail.com.... > In Sat, Oct 15, 2011 at 7:57 PM, Stephen <stephen-d@rogers.com> wrote: > > \<label for="category_one">Category One</label> > <input type="text" name="category_one" value="(current sort order > for > category one)" id="category_one" /> > > > I would capture the input fields by using an array name ("category[]") > instead of specific names (ie, "category_one".  That way you don't have to > modify your input procesing if/when you add a new category. In which case you wouldn't want to use the <label> tag -- but that's no super huge loss.

« previous php.general (#315375) next »