php-general | 2001062
Date: 06/30/01
- Next message: Jason Brooke: "Re: [PHP] Stopping stolen / spoofed / linked sessions"
- Previous message: Bill Rausch: "AW: [PHP] Stopping stolen / spoofed / linked sessions"
- In reply to: Jason Lustig: "[PHP] Parse error: Needs T_VARIABLE or $"
- Next in thread: Delbono: "Re: [PHP] Parse error: Needs T_VARIABLE or $"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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])))
> {
> $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\contributors.php on line 70
>
> (note: line 70 is the first liine of the code snippet above)
>
> Now, this shouldn't be a problem. There is no problem with the parens, and I
> don't see anything wrong with the code. Can someone help me out with this?
> This is happening in another script (when I use the empty() function) and it
> is really weird...
>
> --Jason
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
-- Justin Farnsworth Eye Integrated Communications 321 South Evans - Suite 203 Greenville, NC 27858 | Tel: (252) 353-0722-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason Brooke: "Re: [PHP] Stopping stolen / spoofed / linked sessions"
- Previous message: Bill Rausch: "AW: [PHP] Stopping stolen / spoofed / linked sessions"
- In reply to: Jason Lustig: "[PHP] Parse error: Needs T_VARIABLE or $"
- Next in thread: Delbono: "Re: [PHP] Parse error: Needs T_VARIABLE or $"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

