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 co
> $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?
you are correct, same as:
$Msg = $Msg."Test is complete"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
[snip]
$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?
[/snip]
Yes. You might see $Msg = (no concatenator) somewhere above it in the
code...we code long SQL statements and things like e-mail bodies usin
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.
--
PHP General Mail
4 matches
Mail list logo