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]);
>
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]))
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
3 matches
Mail list logo