Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-20 Thread tamouse mailing lists
On Sun, Oct 16, 2011 at 2:26 PM, Jim Giner wrote: > "tamouse mailing lists" wrote in message > news:cahuc_t8icx4y4mca05rrgzopv4ze7hwsndaiyjjmdvbambv...@mail.gmail.com... > In Sat, Oct 15, 2011 at 7:57 PM, Stephen wrote: > > \Category One > > > > I would capture the input fields by using an arra

Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-17 Thread Tommy Pham
On Sun, Oct 16, 2011 at 2:32 PM, Stephen wrote: > On 11-10-16 04:10 PM, Jim Giner wrote: > >> Stephen: >> >> What you describe is a multistep problem. There are many ways to show >> pictures (images) in any order you want. >> * >> >> So far, the OP has only asked how to keep his "categories"

RE: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-17 Thread Arno Kuhl
From: Stephen [mailto:stephe...@rogers.com] Sent: 16 October 2011 11:33 PM To: php-general@lists.php.net Subject: Re: [PHP] Seeking strategy/algorithm for maintaining order of records Displaying in an order is easy when you have a field called "order". SELECT descriptions FROM catego

Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-16 Thread Ashley Sheridan
On Sun, 2011-10-16 at 17:32 -0400, Stephen wrote: > On 11-10-16 04:10 PM, Jim Giner wrote: > > Stephen: > > > > What you describe is a multistep problem. There are many ways to show > > pictures (images) in any order you want. > > * > > > > So far, the OP has only asked how to keep his "catego

Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-16 Thread Stephen
On 11-10-16 04:10 PM, Jim Giner wrote: Stephen: What you describe is a multistep problem. There are many ways to show pictures (images) in any order you want. * So far, the OP has only asked how to keep his "categories" in order. Curious, yes, but he hasn't even asked how to display the ima

Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-16 Thread Jim Giner
"Tedd Sperling" wrote in message news:4c4ff11f-24ea-48cc-a367-48803df58...@gmail.com... Stephen: What you describe is a multistep problem. There are many ways to show pictures (images) in any order you want. * So far, the OP has only asked how to keep his "categories" in order. Curious,

Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-16 Thread Tedd Sperling
On Oct 15, 2011, at 8:57 PM, Stephen wrote: > I am building a site for my photography. > > The photographs are displayed by category. > > The category table has a field for "order" > > In my control panel I want to be able to change the order of the categories > by changing the values in the c

Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-16 Thread Jim Giner
"tamouse mailing lists" wrote in message news:cahuc_t8icx4y4mca05rrgzopv4ze7hwsndaiyjjmdvbambv...@mail.gmail.com... In Sat, Oct 15, 2011 at 7:57 PM, Stephen wrote: \Category One I would capture the input fields by using an array name ("category[]") instead of specific names (ie, "category_o

Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-16 Thread tamouse mailing lists
In Sat, Oct 15, 2011 at 7:57 PM, Stephen wrote: > I am building a site for my photography. Cool! > The photographs are displayed by category. > > The category table has a field for "order" > > In my control panel I want to be able to change the order of the categories > by changing the values in

[PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-15 Thread Stephen
I am building a site for my photography. The photographs are displayed by category. The category table has a field for "order" In my control panel I want to be able to change the order of the categories by changing the values in the category field. I can dynamically build a form of all categ