what does this mean in php scripting?

In the following set of code. what does the dot mean? isit a space or something... ive onli been teaching maself php since like 12 this morning, so im still pritty noobish at it. and im creating a mailer, using the mail() function. i under stand all the stuff coded there, im just curious.

$headers .= 'From: ' . $name . ' <' . $email . ">\r\n" . 'Reply-To: ' . $name . "\r\n";
 
the dot is the concatenate operator.

It puts two strings together.

For example

$a = 'Hello';
$b = ' World!';
$a .= $b;
// $a .= $b is the same as $a = $a . $b;
print $a; // prints "Hello World!"
 
Back
Top