Ryan:
Just a thought, try using square brackets on the offending line:
$worksheet->Cells[1,1]->value = "Name"; //line5
Saludos,
Pablo
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Monday, February 05, 2001, 2:05:24 PM, Ryan wrote:
CR> I have been trying the following example from the
> I tried with FALSE same error.
>
> I also tried the following word example
>
> $word = new COM("word.application") or die("Unable to instanciate Word");
> print "Loaded Word, version {$word->Version}\n";
> $word->Visible = 0;
> $word->Documents->Add();
> $word->Selection->TypeText("Testing, te
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 3:01 PM
To: Conover, Ryan
Subject: Re: [PHP-WIN] Revised [PHP] COM and PHP
Try "FALSE" instead of "false"
Andris
mailto:[EMAIL PROTECTED]
+---
Monday, February 05, 2001, 10:05:24 PM, you wrote:
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 5
Visible = false; //line3
$worksheet = $excel_handle->workbooks->add(); //line4
$worksheet->Cells(1,1)->valu