ok, the way it is right now, i have 3 compnents the contactid, date, and the file they downloaded,
<?xml version='1.0'?>
<CONTACTS>
<CONTACT>
<Id>1233</Id>
<Date_Submitted>2004-12-13 16:56:26</Date_Submitted>
<File_Downloaded>1233</File_Downloaded>
</CONTACT>
well that's the output that's created by my program,
$output = $output."<CONTACT>\n";
$output = $output."<Id>".$cid."</Id>\n";
$output = $output."<Date_Submitted>".date("Y-m-d H:i:s")."</Date_Submitted>\n";
$output = $output."<File_Downloaded>".$cid."</File_Downloaded>\n";
$output = $output."</CONTACT>\n";
$output = $output."</CONTACTS>";
...............................................................................
now what i'm trying to do is of instead of having it save to my file like this, the xml structured way, now what i'm trying to figure out is how to save it or "structure" it so that it's like an excel file with the .xls extention by definine the rows, columns, things like that. WHAT i have done is that i created an .xls file and saved it as xml and this is the output
......
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
</Styles>
<Worksheet ss:Name="Sheet1">
<Table ss:ExpandedColumnCount="3" ss:ExpandedRowCount="2" x:FullColumns="1"
x:FullRows="1">
<Row>
<Cell><Data ss:Type="String">hello</Data></Cell>
<Cell><Data ss:Type="String">oh</Data></Cell>
<Cell><Data ss:Type="String">wonderful</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="String">world.</Data></Cell>
</Row>
</Table>
<WorksheetOptions xmlns="urn:schemas-microsoft-com
ffice:excel">
<Selected/>
<Panes>
......
well that's part of it, it's to big for this, but this is what i wanna know, because this excel file is then going to be used to track who click on what, you know?.... by tracking there id's when, and what they click/downloaded.
does this help?