Re: [PHP] Parse error: Needs T_VARIABLE or $

2001-06-30 Thread Delbono
et" <[EMAIL PROTECTED]> Sent: Friday, June 29, 2001 11:55 PM Subject: [PHP] Parse error: Needs T_VARIABLE or $ > This is really weird. Very, very, very weird. I have the following code in a > script: > > if (!empty(trim($rowData[3]))) > { > $tdStr.= trim($rowData[3]); >

Re: [PHP] Parse error: Needs T_VARIABLE or $

2001-06-30 Thread Justin Farnsworth
You are trying to add the output of a function call, called twice, BTW, to a string, apparantly. You don't saw what $tdStr is, really, in the scope. Jason Lustig wrote: > > This is really weird. Very, very, very weird. I have the following code in a > script: > > if (!empty(trim($rowData[3]))

[PHP] Parse error: Needs T_VARIABLE or $

2001-06-30 Thread Jason Lustig
This is really weird. Very, very, very weird. I have the following code in a script: if (!empty(trim($rowData[3]))) { $tdStr.= trim($rowData[3]); } Now, when I run it, I get the following error: Parse error: parse error, expecting `T_VARIABLE' or `'$'' in c:\server\wwwroot\contributor