Try this:
$r = trim($rowData[3]);
if ( !empty( $r ) )
{
$tdStr.= trim($rowData[3]);
}
I tokk a look at the manual:
1. Note: empty() is a language construct.
so:
!empty is like to say !if or !while : so it's wrong-
2.
Note that this is meaningless when used on anything which isn't a varia
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]))
2 matches
Mail list logo