At 09:29 PM 1/14/2008, David Krings wrote:
Hi!

I saw this in email thread going on:

$message = "\nName: $name\n\n";
$message .= "E-mail: $email\n\n";

Is that doing the same as
$message = "\nName: $name\n\n";
$message = $message."E-mail: $email\n\n";

Yes. It's similar to using the "+=" or "-=" operator combinations:

$i = 1;
$i += 2;
echo $i;

will print 3.

Ken
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to