Re: Seeking strategy/algorithm for maintaining order of records

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"tamouse mailing lists" <tamouse.lists@xxxxxxxxx> wrote in message 
news:CAHUC_t8iCx4Y4mCA05rrgZOPv4ZE7hwSndAiYJJmDVbambvE1Q@xxxxxxxxxxxxxx...
In Sat, Oct 15, 2011 at 7:57 PM, Stephen <stephen-d@xxxxxxxxxx> 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.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux