Hello All
I am working on my first PHP to Excel project - taking data from an Oracle Database and populating an excel spreadsheet on the client machine.
I can open the file fine but when I try to put any data into it I get parse errors.
The last line of the code is the one throwing the error. I've played with it for a few hours and follwed a couple of Mysql -> Excel tutorials but so far no luck exporting data.
I am using Win 2000 Pro/Apace/php 4.1.1 for development.
$excel=new COM("excel.application") or die("Cannot start MS Excel");
print "Loaded excel version ($excel->Version)\n";
$excel->visible = True ;
$worksheet = $excel->workbooks->add();
$worksheet -> Cells (1,1) -> Value = "Hello World";