Hi Jochem, Intention is to give a user the option of assigning "position" of a "section" on the page, i.e: First: sectA, then sectC, then sectE, then sectB and sectD.... or any other order that is indicated by the user. So it is somewhat like top-of-page, mid-of-page etc but with a numbering/precedence/sorting (can be named any) system that populates the page according to the choice. Roughly: <--first section--> <--second section--> <--third section--> <--fourth section--> <--fifth section--> etc... Clearer now? Alp "Jochem Maas" <jochem@xxxxxxxxxxxxx> wrote in message news:420EA1F7.2070500@xxxxxxxxxxxxxxxx > 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, ...? > > > sorry, driveby answer. > you want to make your output (source) HTML look pretty? > 2 options spring to mind: > 1. the Tidy extension (there are probably other similar tools) > 2. don't bother - as long as its syntax is correct indentation > is irrelevant really. > > or do you mean something else by 'line-up'? > > > > > Thanks in advance for your guidance. > > > > Alp > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php