RE: [PHP] syntax questoin
| From: | Jay Blanchard | Date: | Thu, 16 Sep 2004 18:30:23 +0000 |
| Subject: | RE: [PHP] syntax questoin | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196886@lists.php.net to get a copy of this message | ||
[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 using
it.
$sql = "SELECT a.
foo, b.bar ";
$sql .= "FROM tblA a, tblB b ";
$sql .= "WHERE conditions ";
$sql .= "HAVING stuff ";
$sql .= "ORDER BY a.foo ";