|
Posted by Winston S. Figueira on 05/18/06 22:46
See bottom:
"Martin Jay" <martin@spam-free.org.uk> wrote in message
news:+GuDFfSE+PaEFwMb@spam-free.org.uk...
> In message <4468f827$0$712$5fc3050@dreader2.news.tiscali.nl>, Winston S.
> Figueira <pneumatosppm@tiscali.nl> writes
>>I need a script to make and control/ manipulate a
>>matrix = 100/autoexpand rows by 30/fixed columns, in php or ?
>>Some details:
>>First column= c1 is "name", (usually a number, 5digits) all other columns
>>are calender dates or numerical, 5digits.
>>3 Blocks of 4 columns-in-row will have a "shift and loose details".
>>Example: colums c13-c14-c15-c16 are a block.
>>When data is to be entered into c13, first, all data is moved/shifted one
>>place to the right.
>>c13 is now empty, and the new data goes into c13; data in c16 is lost.
>>(That's the catch, they say!?.)
>>If its done in "pretty writing" I can handle the reading.
>
> How are you storing this data? If you can access it by SQL it would be
> easier to do it using that.
>
> Otherwise I would look at this problem from another prospective: use a
> pointer to define which column (c13 to c16) is the newest, moving the
> pointer from C13 to C16, then back to C13.
> --
> Martin Jay
Thanks for your reply Martin:
This is stored serverside, SQL.
In each block, say, c13, a counter is encreased by one, AFTER the contents
of c14-15 are moved on place to the right.
Info in c16 is lost, and the current date/hr/min are entered in c14.
Thanks.
* * *
Navigation:
[Reply to this message]
|