[RESOLVED] 2D array and html table
I have converted a recordset into a string of text where each field is separated by a ',' and each record separated by a '|'
The format of the data string is similar to:
name, date, duty| Jim, Mon, Office | Jim, Tue, Office | Jim, Wed, Holiday | Jim, Thu, Meeting | Jim, Fri, Meeting | Sue, Mon, Office | Sue, Tue, Meeting | Sue, Wed, Holiday | Sue, Thu, Holiday | Sue, Fri, Holiday | etc.
The array is therefore something like:
My question is...
How can I rearrange this data in a HTML table so it looks something like the example below?
name, Mon, Tue, Wed, Thu, Fri
Jim, Office, Office, Holiday, Meeting, Meeting
Sue, Office, Meeting, Holiday, Holiday, Holiday
Last edited by Low Society; 11-17-2011 at 08:18 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread