On Monday 22 August 2005 04:20, Ross wrote:
> dear all, i have the following table of data to post on web,
> name size length 0min 3min 10min chart
> A 3 5 1 10 3 figA.gif
> B 5 2 2 4 3 figB.gif
> C 4 3 3 9 6 figC.gif
> I am seeking your advice on the programming language for such an action. i
> prefer a web table capable of sorting by size, length and so on, therefore
> built-in function for sorting is appreciated.
I always prefer to think in terms of comma-separated values when handling
spreadsheets. Let us say that you use PHP and then pick one token at a time
with the intention of feeding it in to the database.
Thereafter, all you ought to do is create a database with tuples that
correspond to the columns of the table above. You should create some
meaningful functions (abstraction) to fetch column (value) given field
(row) and then work deeper to get more complex operations working. There
must be something like this lying around publicly, so don't re-invent the
wheel if possible. Do your homework before implementing anything.
To output the data, it would sensible in this particular case to place
everything in tables (Look ma! No divs!), e.g.
<img src="figA.gif" alt="figA" />
Hope it helps,
Roy S. Schestowitz Useless fact: Florida is bigger than England