Может кто-нибудь объяснить, почему
'. окончание '!
не работает так же, как
'. $ приветствие. '!
в следующем коде? Чего мне не хватает?
$salutation = 'Greetings, ' . $cname;
$ending = 'Thank you for using HammerPins, ' . $cname;
$subject = 'Hammerpins.net Alert: Newly Added Bowling Tournaments';
$message = '
<html>
<body>
<p>' . $salutation . '!</p>
<p>New tournaments were added to the HammerPins database this week in the following counties:</p>';
foreach ($user_array as $single_user_item) {
$message .= "$single_user_item[link]";
}'
<p>' . $ending . '!</p>
</body>
</html>
';
Спасибо за вашу помощь с этим.