On 04/04/2003 11:20 PM, Leif K-Brooks ([EMAIL PROTECTED]) wrote:

> Of course you can concatenate a string with a function!  It works
> perfectly for me.

So both tables in the output look the same? Not for me under PHP 4.3.0:

(1)

<TR><IMG SRC='images/light_red.gif'><TD></TD><TD>this fails!</TD></TR>

(2)

<TR>
<TD><IMG SRC='images/light_red.gif'></TD>
<TD>this works</TD>
</TR>

If I change '.' to ',' in this line:

echo "<TD>".alarmLightMySQL()."</TD>";

I get the expected result:

<TR><TD><IMG SRC='images/light_red.gif'></TD><TD>this fails!</TD></TR>

It appears that - in this case, at least - one cannot concatenate a string
with a function. I never meant to imply that this made sense.

Pablo


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to