Re: Advice/opinion requested on page section lineup

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

 



Alp wrote:
> I would like to be able to alter the lining-up of several sections on a
> php
> generated webpage. What would be the best/optimal approach in achieving
> that?
>
> As an example "sections" referred to are mostly tables generated via code
> on
> data obtained from a DB. Should I name them (somehow), shall I use a
> seperate table to store the lining-up information or shall I add a
> "precedence" integer column to each relevant table in the database, ...?

I would simply add a 'rank' field in the table, and use "order by rank" to
do what you described in later posts in this thread.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
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