Victor C. wrote:
Hi,
I just started with PHP.  (I used to work on ASP a lot)

What does  the syntax ".=" do?

i see a line of code that says

$Msg .= "Test is complete"

I'm thinking it means concatenate $Msg with "Test is complete" and then
store the new string into $Msg

Am I right?

Thanks.


It does concatenate the value onto the end of the original string.

http://us4.php.net/manual/en/language.operators.assignment.php

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

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



Reply via email to