I have been trying the following example from the PHP developer's cookbook
and it keeps giving me the following error.

Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 4
<? //line 1
$excel_handle = new COM("excel.application"); //line2
$excel_handle->Visible = false; //line3
$worksheet->Cells(1,1)->value = "Name"; //line4
$worksheet->SaveAs("temp.xls"); //line5
$excel_handle->quit(); //line6
//line7
?> //line8

Anyone that has Com and PHP experience help please

Ryan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to