Reply to Re: [PHP] Advice/opinion requested on page section lineup

Your name:

Reply:


Posted by Richard Lynch on 10/04/17 11:08

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация