Re: [PHP] syntax questoin

2004-09-16 Thread John Nichel
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

Re: [PHP] syntax questoin

2004-09-16 Thread Matt M.
> $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

RE: [PHP] syntax questoin

2004-09-16 Thread Jay Blanchard
[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

[PHP] syntax questoin

2004-09-16 Thread Victor C.
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