This may be a blindingly obvious question but I am working on a little project and I'm relatively new to PHP. What I am wanting to do it load a load of data from an array into a table generated by php.... simple enough.
Anyway our table is huge and when you scroll along you loose your row headings which is annoying to say the least.
So I created a seperate frame to act as a 2nd column in our page which I was hoping to load the array names into as they are the row headers into the frame on the left and then the rest of the array's data into the frame on the right.
I currently have a rather messy but working script that loads all the data into one large table, I know how to extract the row headers but what is the best way of going about writing the data to a seperate page?
I mean can I put a function in the left frame so that any table I load and push data to it will put the headers in and if so how do I go about calling a function on a seperate page? and how about updating the page with the correct data? or is there a more obvious way of going about it?
Sorry for the rather rambling post...
Tom
Anyway our table is huge and when you scroll along you loose your row headings which is annoying to say the least.
So I created a seperate frame to act as a 2nd column in our page which I was hoping to load the array names into as they are the row headers into the frame on the left and then the rest of the array's data into the frame on the right.
I currently have a rather messy but working script that loads all the data into one large table, I know how to extract the row headers but what is the best way of going about writing the data to a seperate page?
I mean can I put a function in the left frame so that any table I load and push data to it will put the headers in and if so how do I go about calling a function on a seperate page? and how about updating the page with the correct data? or is there a more obvious way of going about it?
Sorry for the rather rambling post...
Tom
Comment